(help) with change team comand
#1

hi all i want to make a comand for player to change team only if they have kill 1 persone befor
some thinks like
Код:
if(strcmp(cmd, "/human", true) ==0)
	{
		if(playйr has kill a human)
		{
	        team[playerid] = 1;
                SetPlayerHealth(playerid, 0);
	        SendClientMessage(playerid,GREEN,"you turn to human.");
	
	        return 1;
 		}
		else
 		{
                 SendClientMessage(playerid,GREEN,"you must kill a human to chang your team");
 			return 1;
 		}
	}
Reply


Messages In This Thread
(help) with change team comand - by Amine_Mejrhirrou - 19.01.2011, 17:05
Re: (help) with change team comand - by WillyP - 19.01.2011, 17:06
Re : (help) with change team comand - by Amine_Mejrhirrou - 19.01.2011, 17:10
Re: (help) with change team comand - by WillyP - 19.01.2011, 17:12
Re : (help) with change team comand - by Amine_Mejrhirrou - 19.01.2011, 17:25
Re: (help) with change team comand - by Ironboy - 19.01.2011, 17:37
Re : Re: (help) with change team comand - by Amine_Mejrhirrou - 19.01.2011, 17:43
Re: (help) with change team comand - by Ironboy - 19.01.2011, 17:45
Re: (help) with change team comand - by Macluawn - 19.01.2011, 18:25
Re : (help) with change team comand - by Amine_Mejrhirrou - 19.01.2011, 18:55

Forum Jump:


Users browsing this thread: 2 Guest(s)