errors?
#3

Quote:
Originally Posted by Banana_Ghost
Посмотреть сообщение
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/enter", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid, 7.0, 2125.1001, -1776.7, 12.9))
        (
            SetPlayerPos(playerid, 2114.2, -1755.6, 892.90002);
        )
        return 1;
    }
    return 0;
}
The return 1 was in the wrong place
That would not fix the problem.


CrazyManiac, you're using ( ) instead of { } under IsPlayerInRangeOfPoint
Reply


Messages In This Thread
errors? - by CrazyManiac - 16.12.2014, 22:13
Re: errors? - by Banana_Ghost - 16.12.2014, 22:35
Re: errors? - by Stinged - 17.12.2014, 03:55

Forum Jump:


Users browsing this thread: 1 Guest(s)