Help with a command.
#1

Hey, I tried making a command to enter a specific area, ( a custom made fire department ) for some reason, in pawno it says that there is an error.

If you could fix this, thankyou
The co-ordinates are correct, and what i've set them to.
I just need this working ;[
pawn Код:
if (strcmp("/enterfd", cmdtext, true, 6) == 0)
            {
                if(IsPlayerInRangeOfPoint(playerid,1342.4213867188,-1669.3712158203,17.7265625))
                    {
                        SetPlayerPos(playerid,1289.4602050781,-1604.3106689453,1242.7280273438);
                        return 1;

            }
        if (strcmp("/exitfd", cmdtext, true, 6) == 0)
            {
                if(IsPlayerInRangeOfPoint(playerid,1289.4602050781,-1604.3106689453,1242.7280273438))
                    {
                        SetPlayerPos(playerid,1342.4213867188,-1669.3712158203,17.7265625);
                        return 1;
                    }
Thanks, Menkz (M3NK5)
Reply


Messages In This Thread
Help with a command. - by M3NK5 - 30.11.2010, 08:43
Re: Help with a command. - by ExEx - 30.11.2010, 08:46
Re: Help with a command. - by iggy1 - 30.11.2010, 08:47
Re: Help with a command. - by M3NK5 - 30.11.2010, 09:09
Re: Help with a command. - by iggy1 - 30.11.2010, 09:18
Re: Help with a command. - by Menkz - 30.11.2010, 23:17
Re: Help with a command. - by Steven82 - 01.12.2010, 00:28
Re: Help with a command. - by M3NK5 - 01.12.2010, 05:08

Forum Jump:


Users browsing this thread: 1 Guest(s)