Invalid Function or Declaration
#1

Its Screen:
Code: if(strcmp(cmd,"/cnnopen" true) == 0) {
MoveObject(Gate,968,-2042.91809082,493.98721313,35.10251236, 2);
//Low Speed:2
SendClientMessage(playerid, COLOR_YELLOW, "CNN Karebi Gaigo"
return 1;
}
HELP ME Please Thanks )
Reply
#2

Its not placed inside OnPlayerCommandText

And you forgot to close with ');'
Reply
#3

Please Edit Code:
Quote:

if(strcmp(cmd,"/cnnopen" true) == 0) {
MoveObject(Gate,968,-2042.91809082,493.98721313,35.10251236, 2);
//Low Speed:2
SendClientMessage(playerid, COLOR_YELLOW, "CNN Karebi Gaigo"
return 1;
}

Reply
#4

wrong..
Put it after OnPlayerCommandText
Reply
#5

Please Write Not Wrong Code
Reply
#6

Stop being lazy and do it yourself.

Add ');' to the end of the SendClientMessage line and put the code under OnPlayerCommandText. If you can't do that you have no hope of scripting so I recommend you give up now.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)