PLAYER_STATE_DRIVER help?
#1

I want so is says Vehicle borrowed by once but when i press w in a car spamming Vehicle borrowed by


pawn Код:
if(newkeys && PLAYER_STATE_DRIVER)
    {
        new string[128];
        new newcar = GetPlayerVehicleID(playerid);
        if(IsACopCar(newcar))
        {
            if(PlayerInfo[playerid][pFaction] != 1)
            {
                RemovePlayerFromVehicle(playerid);
                SendClientMessage(playerid, COLOR_GREY,"You don't have keys to this vehicle.");
                TogglePlayerControllable(playerid,true);

            }
            else if(CopInfo[newcar][Created] == 1)
            {
                format(string,128,"[INFO]: Vehicle borrowed by %s",CopInfo[newcar][Owner]);
                SendClientMessage(playerid, 0x8080FF96, string);
            }
        }
    }
Reply


Messages In This Thread
PLAYER_STATE_DRIVER help? - by N0FeaR - 30.05.2012, 15:05
Re: PLAYER_STATE_DRIVER help? - by ViniBorn - 30.05.2012, 15:12
Re: PLAYER_STATE_DRIVER help? - by N0FeaR - 30.05.2012, 15:14
Re: PLAYER_STATE_DRIVER help? - by ViniBorn - 30.05.2012, 15:16
Re: PLAYER_STATE_DRIVER help? - by N0FeaR - 30.05.2012, 15:19
Re: PLAYER_STATE_DRIVER help? - by ViniBorn - 30.05.2012, 15:24
Re: PLAYER_STATE_DRIVER help? - by N0FeaR - 30.05.2012, 15:25
Re: PLAYER_STATE_DRIVER help? - by ViniBorn - 30.05.2012, 15:45
Re: PLAYER_STATE_DRIVER help? - by CidadeNovaRP - 30.05.2012, 16:02

Forum Jump:


Users browsing this thread: 1 Guest(s)