Help Ineed
#9

Well, try to copy ONLY my commands in your "OnPlayerCommandText" function. Like:
pawn Код:
if (strcmp("/enter", cmdtext, true, 6) == 0)
    {
        if(IsPlayerInRangeOfPoint( playerid, 1.5, 1555.4861, -1675.3259, 16.1953 ) )
           {
                 if(!IsPlayerInAnyVehicle( playerid ) )
                {
                        SetPlayerInterior( playerid, 6 );
                        SetPlayerPos( playerid, 246.7840, 63.9002, 1003.6406 );
                            return 1;
                    }
                 else return SendClientMessage( playerid, -1, "You must get out of the vehicle first." );
           }
    }
    if (strcmp("/exit", cmdtext, true, 5) == 0)
    {
        if(IsPlayerInRangeOfPoint( playerid, 1.5, 246.7955, 62.3329, 1003.6406 ) )
           {
                 if(!IsPlayerInAnyVehicle( playerid ) )
                {
                        SetPlayerInterior(playerid, 0);
                        SetPlayerVirtualWorld(playerid, 0);
                        SetPlayerPos(playerid, 1553.2699, -1675.4012, 16.1953);
                            return 1;
                    }
                 else return SendClientMessage( playerid, -1, "You must get out of the vehicle first." );
           }
    }
Reply


Messages In This Thread
Help Ineed - by Garry Roger - 01.04.2011, 00:08
Re: Help Ineed - by mprofitt - 01.04.2011, 00:18
Re: Help Ineed - by Garry Roger - 01.04.2011, 00:26
Re: Help Ineed - by antonio112 - 01.04.2011, 00:30
Re: Help Ineed - by Garry Roger - 01.04.2011, 00:33
Re: Help Ineed - by Garry Roger - 01.04.2011, 00:36
Re: Help Ineed - by antonio112 - 01.04.2011, 00:38
Re: Help Ineed - by Garry Roger - 01.04.2011, 00:39
Re: Help Ineed - by antonio112 - 01.04.2011, 00:40
Re: Help Ineed - by Garry Roger - 01.04.2011, 00:47

Forum Jump:


Users browsing this thread: 1 Guest(s)