Infection ?
#1

------
Reply
#2

What are you trying to do exactly? Please elaberate.
Reply
#3

------
Reply
#4

if(GetPlayerSkin(playerid) == 285)
{
SendClientMessage(playerid,COLOR_RED," You Have infected a Human!");
SetPlayerHealth(playerid,100);
return 1;
}


Something like that under ur Gteam thing
Reply
#5

------
Reply
#6

well you can do variables lol onplayerspawn connect and death = 0 if not zombie team and when they try to knife or what ever put the non zombie as 1 instead of 0
Reply
#7

OnPlayerKeyStateChange.
Reply
#8

Код:
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;
}
}
}
There, That will start you off.
Reply
#9

------
Reply
#10

Quote:
Originally Posted by [UG]Scripter
Посмотреть сообщение
Код:
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;
}
}
}
There, That will start you off.
EDITED, Try That to start You off.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)