Won't remove player from the RC vehicle.
#1

Well, I want the player to be removed from the RC Baron if he/she press the LCTRL key (fires a minigun), but it doesn't works. Can someone please help me out?

pawn Код:
if(PRESSED(KEY_ACTION))
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            if(GetVehicleModel(GetPlayerVehicleID(playerid) == 464))
            {
                SetPlayerPos(playerid, RCPos[playerid][0], RCPos[playerid][1], RCPos[playerid][2]);
                return SendClientMessage(playerid, COLOR_ORANGE, "[WARNING:] RC Baron's minigun is disabled, don't use it.");
            }
        }
    }
Reply


Messages In This Thread
Won't remove player from the RC vehicle. - by Makaveli93 - 27.06.2012, 04:58
Re: Won't remove player from the RC vehicle. - by [A]ndrei - 27.06.2012, 05:16
Re: Won't remove player from the RC vehicle. - by Makaveli93 - 27.06.2012, 05:17
Re: Won't remove player from the RC vehicle. - by [A]ndrei - 27.06.2012, 05:44
Re: Won't remove player from the RC vehicle. - by Makaveli93 - 27.06.2012, 05:50
Re: Won't remove player from the RC vehicle. - by [A]ndrei - 27.06.2012, 05:52

Forum Jump:


Users browsing this thread: 1 Guest(s)