Problem with this command
#1

I seem to keep misplacing
pawn Код:
return 1;
}
I've tried moving it and I don't know where else to put it lol. The code looks fine to me, anyways I keep getting the warning
Код:
C:\Documents and Settings\Lucas\Desktop\interior.pwn(236) : warning 203: symbol is never used: "enter"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
If anyone can give me a good explanation of where to put return 1; I'd be happy. Wiki is kind of hard to understand, anyways thanks.

pawn Код:
COMMAND:enter(playerid, cmdtext)
{
    if (!IsPlayerInRangeOfPoint, 1510.09997559,-1060.19995117,24.29999924 (playerid) return SendClientMessage(playerid, 0xFF0000FF, "You're not near an entrance");
    {
        SetPlayerPos(playerid, 1514.69995117,-1045.09997559,-29.29999924);
        SendClientMessage(playerid, 0xFF0000FF, "You have entered your house!");
    }
    return 1;
}
Reply


Messages In This Thread
Problem with this command - by rangerxxll - 18.09.2011, 10:39
Re: Problem with this command - by =WoR=Varth - 18.09.2011, 10:43
Re: Problem with this command - by rangerxxll - 18.09.2011, 10:47
Re: Problem with this command - by =WoR=Varth - 18.09.2011, 10:50

Forum Jump:


Users browsing this thread: 1 Guest(s)