OnPlayerSwitchWeapon?
#2

@SV

Код:
new lastWeapon[MAX_PLAYERS];public OnPlayerConnect(playerid){    lastWeapon[playerid] = 0;    return 1;}public OnPlayerUpdate(playerid){    new w = GetPlayerWeapon(playerid);    if(w != lastWeapon[playerid])    {        OnPlayerChangeWeapon(playerid, w, lastWeapon[playerid]);    }    lastWeapon[playerid] = w;    return 1;}OnPlayerChangeWeapon(playerid, newgun, oldgun){    return 1;}
Reply


Messages In This Thread
OnPlayerSwitchWeapon? - by Marshas - 22.03.2019, 14:35
Re: OnPlayerSwitchWeapon? - by Bolex_ - 22.03.2019, 14:50
Re: OnPlayerSwitchWeapon? - by Marshas - 22.03.2019, 15:08
Re: OnPlayerSwitchWeapon? - by Kaliber - 22.03.2019, 15:14
Re: OnPlayerSwitchWeapon? - by antixgaming - 22.03.2019, 16:17
Re: OnPlayerSwitchWeapon? - by m4karow - 22.03.2019, 16:34
Re: OnPlayerSwitchWeapon? - by NaS - 22.03.2019, 17:04
Re: OnPlayerSwitchWeapon? - by Marshas - 22.03.2019, 17:15
Re: OnPlayerSwitchWeapon? - by antixgaming - 22.03.2019, 18:16
Re: OnPlayerSwitchWeapon? - by Marshas - 22.03.2019, 20:52
Re: OnPlayerSwitchWeapon? - by antixgaming - 22.03.2019, 21:50
Re: OnPlayerSwitchWeapon? - by Marshas - 23.03.2019, 15:41

Forum Jump:


Users browsing this thread: 3 Guest(s)