Script problems
#10

oh my bad lol

pawn Код:
if(strcmp(cmdtext, "/eject", true) == 0)
    {
        if(IsPlayerInAnyVehicle)
        {
            new Float:X,Float:Y,Float:Z;
            RemovePlayerFromVehicle(playerid);
            GetPlayerPos(playerid,X,Y,Z);
            SetPlayerPos(playerid,X,Y,Z+5);
            GivePlayerWeapon(playerid,46,1);
            return 1;
        } else SendClientMessage(playerid,red,"You are not in a vehicle");
        return 1;
    }
easier
Reply


Messages In This Thread
Script problems - by gereter - 25.08.2010, 02:20
Re: Script problems - by willsuckformoney - 25.08.2010, 02:37
Re: Script problems - by gereter - 25.08.2010, 03:03
Re: Script problems - by General Abe - 25.08.2010, 03:07
Re: Script problems - by gereter - 25.08.2010, 03:16
Re: Script problems - by willsuckformoney - 25.08.2010, 03:28
Re: Script problems - by gereter - 25.08.2010, 03:37
Re: Script problems - by willsuckformoney - 25.08.2010, 03:38
Re: Script problems - by gereter - 25.08.2010, 03:58
Re: Script problems - by willsuckformoney - 25.08.2010, 04:27

Forum Jump:


Users browsing this thread: 3 Guest(s)