A few basic errors.
#1

I have a few errors, which I believe will be simple enough to fix.

pawn Код:
if(!strcmp(cmdtext, "/enter", true))
        {
            if(IsPlayerInRangeOfPoint(playerid, 10, 1341.5411, -1675.3422, 17.7164))
        {
            SetPlayerPos(playerid, 963.70001221, -53.29999924, 1000.70001221);
            SetPlayerInterior(playerid, 3);
        }
            return 1;
        }

    if(!strcmp(cmdtext, "/exit", true))
        {
            if(IsPlayerInRangeOfPoint(playerid, 10, 963.70001221, -53.29999924, 1000.70001221))
        {
            SetPlayerPos(playerid, 1341.5411, -1675.3422, 17.7164);
            SetPlayerInterior(playerid, 0);
        }
            return 1;
        }
The /enter command works perfectly, but upon typing /exit nothing happens, why is this?


also

pawn Код:
Create3DTextLabel("Please press /enter", 0xEF994300, 1341.5411, -1675.3422, 17.7164, 10, 0, 1);
    Create3DTextLabel("Please press /exit", 0xEF994300, 963.70001221, -53.29999924, 1000.70001221, 10, 0, 1);
Why aren't these showing up in my server?

Thank you.
Reply


Messages In This Thread
A few basic errors. - by Rabbayazza - 16.07.2012, 21:09
Re: A few basic errors. - by hansen111 - 16.07.2012, 21:34
Re: A few basic errors. - by Rabbayazza - 16.07.2012, 21:38
Re: A few basic errors. - by Rabbayazza - 16.07.2012, 21:47

Forum Jump:


Users browsing this thread: 2 Guest(s)