little problem
#9

On topic now. I just want to remove and fix the "You were killed by" when I use /kill - suicide. Thats all mate. I made a ss to understand fully.



Код:
new Batz[128];
    format(Batz, sizeof(Batz), "~r~You were killed by ~y~%s", GetName(killerid)); //If Death Show Killer Id
    GameTextForPlayer(playerid,Batz, 2000,4);
    format(Batz, sizeof(Batz), "~g~You killed %s ~y~+ $2500", GetName(playerid)); //Show Victims name
    GameTextForPlayer(killerid,Batz, 2000,4);
EDIT: Alonzo you're right. It just need to overdrive the /kill command

Код:
CMD:kill(playerid, params[])
{
	SetPlayerHealth(playerid, 0);
	return 1;
}
Reply


Messages In This Thread
little problem - by gotwarzone - 03.11.2013, 19:16
Re: little problem - by AlonzoTorres - 03.11.2013, 19:17
Re: little problem - by gotwarzone - 03.11.2013, 19:20
Re: little problem - by AlonzoTorres - 03.11.2013, 19:26
Re: little problem - by gotwarzone - 03.11.2013, 19:28
Re: little problem - by AlonzoTorres - 03.11.2013, 19:40
Re: little problem - by iZN - 03.11.2013, 19:42
Re: little problem - by AlonzoTorres - 03.11.2013, 19:44
Re: little problem - by gotwarzone - 03.11.2013, 19:48
Re: little problem - by AlonzoTorres - 03.11.2013, 19:54

Forum Jump:


Users browsing this thread: 1 Guest(s)