Need help my code dost work properly

Do not connect the rf24 to 5 V, resistor or not. Try putting a 10uF cap between the radio ground and 3.3V. That can help to make up for the weak 3.3V regulator.

I used Robin2's simple rf24 tutorial to get my radios to work.

Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.