Keep getting a invalid function or declaration error.
#1

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

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
        }
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
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)