Knife Infection System
#1

Edited:

Код:
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);
                     }
		}
	}
when i compline i get Nothing why
Reply
#2

http://forum.sa-mp.com/announcement.php?f=12
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)