05.09.2010, 04:54
Код:
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; } } }