14.08.2011, 06:00
Hello, I'm getting this error invalid function or declaration and I don't know what I'm doing wrong. i'm a new scripter so its probably an obvious mistake. Here is my code
The error line and message: D:\user\Desktop\Raven's Roleplay 0.3c\filterscripts\testingteleport.pwn(103) : warning 217: loose indentation
D:\user\Desktop\Raven's Roleplay 0.3c\filterscripts\testingteleport.pwn(115) : error 010: invalid function or declaration
D:\user\Desktop\Raven's Roleplay 0.3c\filterscripts\testingteleport.pwn(119) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
pawn Код:
if (strcmp("/prison3277", cmdtext, true, 10) == 0) // This is a error line
{
SetPlayerPos(playerid, -1189.0684,-964.0616,129.2119);
SendClientMessage(playerid, 0xFFFF40FF, "You have been Teleported");
return 1; // This is a error line
}
D:\user\Desktop\Raven's Roleplay 0.3c\filterscripts\testingteleport.pwn(115) : error 010: invalid function or declaration
D:\user\Desktop\Raven's Roleplay 0.3c\filterscripts\testingteleport.pwn(119) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase