18.05.2014, 13:20
Edited:
when i compline i get Nothing why
Код:
if(PRESSED(KEY_YES)) { if(team[playerid] == TEAM_HUMAN) { if(gettime() - 8 < Abilitys[playerid][ShoutCooldown]) return GameTextForPlayer(playerid,"~w~ Cannot shout wait 8 seconds!",1000,5); { ShowPlayerDialog(playerid,DIALOG_SHOUT,DIALOG_STYLE_LIST,"Select an shout!","Medic\nBoomer Incoming\nScreamer Incoming\nStomper Incoming\nIt's clear\nZOMBIES NEARBY!\nZOMBIES INCOMING\nNeed assistance\nNeed backup","Select","Cancel"); PlayerPlaySound(playerid,1057,0.0,0.0,0.0); Abilitys[playerid][ShoutCooldown] = gettime(); } } } 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); } } }