13.01.2010, 21:07
Compile text:
C:\Documents and Settings\Administrator\Bureaublad\Warserver\filter scripts\cmds.pwn(20) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Script:
How i fix this? Im a beginner in teleports ;d
C:\Documents and Settings\Administrator\Bureaublad\Warserver\filter scripts\cmds.pwn(20) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Script:
Код:
//------------------------------------------------- public OnPlayerCommandText(playerid, cmdtext[]) if(strcmp("/help", cmdtext, true) == 0) { SendClientMessage(playerid,0xAFAFAFAA,"Available Commands:"); SendClientMessage(playerid,0xAFAFAFAA,"/controltower - "); } if(strcmp("/controltower", cmdtext, true) == 2) { SetPlayerPos(playerid, 1767.6691, -2431.9624, 13.5547); } //-------------------------------------------------