Posts: 2,502
Threads: 26
Joined: Apr 2007
Reputation:
0
Take out those curly brackets, they are not necessary there.
Curly brackets are used to define a section of code to be executed after a statement, the circumstances in which you have put them is not a valid syntax and therefore is crashing the compiler.
Posts: 218
Threads: 22
Joined: Jul 2010
Try
Код:
if(response == 0) return SendClientMessage(playerid,COLOR_YELLOW,"You didn't choose anything.");
Posts: 77
Threads: 22
Joined: Jun 2011
Reputation:
0
Thank you both of you. And I'll ask a question. Some servers have unlimited ammos with guns. They are making max ammos, or they are making some other things?