error 029: invalid expression, assumed zero
#6

Hello there.
Код:
CMD:dynamicgift(playerid, params[])
if(dynamicgift == 0)
This makes compilator goes crazy.
You can not put name of command inside of if() statement.

Just try replacing
Код:
if(dynamicgift == 0)
with
Код:
if(true)
It will get compiled, but script beneath this condition will be run anyways.

Do you want to check for parameters provided using this command, or what?
Greetings.



Edition in progress
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)