Help again....
#5

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/kill", true)==0)
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid, COLOR_GREY, "You have commited suicide!!");
GivePlayerMoney(playerid,-1500);
SendClientMessage(playerid, COLOR_RED, "Hospital bills has been taken off, Thanks for your visit.");
return 1;
}
}
	
return SendClientMessage(playerid,COLOR_RED,"* There is no such command!");
}
Maybe you have Skype? It would be much easier to help you.
Reply


Messages In This Thread
Help again.... - by Brunok - 29.05.2011, 11:20
Re: Help again.... - by Osviux - 29.05.2011, 11:26
Re: Help again.... - by Brunok - 29.05.2011, 11:31
Re: Help again.... - by sleepysnowflake - 29.05.2011, 11:32
Re: Help again.... - by Osviux - 29.05.2011, 11:35

Forum Jump:


Users browsing this thread: 1 Guest(s)