Cmd problems
#1

Well Hey guys
My friend got problems in his server
He got this lines, But IG, They aint working, Why?
Код:
public OnPlayerCommandText(playerid,cmdtext[])
{
	if(strcmp(cmdtext,"/learn",true)==0)
	{
	  SendClientMessage(playerid,COLOR_YELLOW,"Hello And Welcome To the Server, Some info over here.");
	  SendClientMessage(playerid,COLOR_YELLOW,"If you are Zombie, Use the Knife To infect the humans.");
	  SendClientMessage(playerid,COLOR_YELLOW,"If you are Human, You can Run Or Stay and kill the Zombies With your guns.");
		SendClientMessage(playerid,COLOR_YELLOW,"If You want to change team Do F4 Than /kill.");
	  SendClientMessage(playerid,COLOR_RED,"Note: Zombies Got 150 HP, Humans Got 100 HP.");
	  SendClientMessage(playerid,COLOR_GREEN,"What you waiting for? Enjoy!!");
	}
	if(strcmp(cmdtext,"/kill",true)==0)
	{
	SetPlayerHealth(playerid, 0.0);
	SendClientMessage(playerid,COLOR_YELLOW,"You just killed yourself.");
	return 1;
	}
	
	return 1;
}
Reply


Messages In This Thread
Cmd problems - by Taz86 - 08.01.2010, 20:25
Re: Cmd problems - by bajskorv123 - 08.01.2010, 20:27
Re: Cmd problems - by Taz86 - 08.01.2010, 20:34
Re: Cmd problems - by bajskorv123 - 08.01.2010, 20:36
Re: Cmd problems - by Taz86 - 08.01.2010, 20:37
Re: Cmd problems - by Doppeyy - 08.01.2010, 20:44

Forum Jump:


Users browsing this thread: 3 Guest(s)