24.08.2011, 20:23
Hello.
When i try to add a command in my Gamemode i will get 2 errors.
Here are the lines:
And this is the full cmd
When i try to add a command in my Gamemode i will get 2 errors.
Code:
C:\Documents and Settings\Microsoft.KODUARVU-6442CC\Desktop\SG\gamemodes\SSM.pwn(1963) : error 010: invalid function or declaration C:\Documents and Settings\Microsoft.KODUARVU-6442CC\Desktop\SG\gamemodes\SSM.pwn(1966) : error 010: invalid function or declaration
Quote:
Line 1963 - if (strcmp("/help", cmdtext, true, 10) == 0) Line 1966 - return 1; |
Code:
if (strcmp("/help", cmdtext, true, 10) == 0) { SendClientMessage(playerid,0xFFFF00AA, "Teleports: /stunt1, /stunt2, /pipe1, /home"); return 1; }