08.01.2010, 20:44
pawn Код:
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!!");
return 1;
}
if(strcmp(cmdtext,"/kill",true)==0)
{
SetPlayerHealth(playerid, 0.0);
SendClientMessage(playerid,COLOR_YELLOW,"You just killed yourself.");
return 1;
}
return 0;
}
Edit : WHOOHOO 700 posts .
[Doppeyy