05.09.2010, 04:37
(
Последний раз редактировалось Kitten; 13.08.2013 в 00:31.
)
------
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys & KEY_FIRE && newkeys & KEY_HANDBRAKE) { for(new i = 0; i < GetMaxPlayers(); i++) if(GetPlayerWeapon(playerid) == // knife ID && GetPlayerSkin(playerid,285)) if(gTeam[playerid] == Team_ZOMBIE) { SetPlayerSkin(i,162); return 1; } } }
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys & KEY_FIRE && newkeys & KEY_HANDBRAKE) { for(new i = 0; i < GetMaxPlayers(); i++) if(GetPlayerWeapon(playerid) == // knife ID && GetPlayerSkin(playerid,285)) if(gTeam[playerid] == Team_ZOMBIE) { SetPlayerSkin(i,162); return 1; } } } |