[Ajuda] Proibir G de desert eagle
#2

pawn Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_PASSENGER)
    {
        if(GetPlayerWeapon(playerid) == 24)
        {
            GivePlayerWeapon(playerid, 1, 0);
            SendClientMessage(playerid, -1,"[ x ] A arma desert eagle foi removida. ");
            return 1;
        }
    }
    return 1;
}
Fiz um code bem rбpido, porйm, nгo testei.
Reply


Messages In This Thread
Proibir G de desert eagle - by luccagomes15 - 02.09.2013, 01:23
Re: Proibir G de desert eagle - by Coe1 - 02.09.2013, 01:32

Forum Jump:


Users browsing this thread: 1 Guest(s)