Why doesent this work?
#1

i have this script and i dont know how to make it work.
For example SendClientMessageToAll( 0xFF0000FF, "%s has been killed by (i dont know how to add the killers name)");
And when it adds a score it doesent save it.


public OnPlayerDeath(playerid, killerid, reason)
{
new player[24];
new killer[24];
GetPlayerName(playerid, player, sizeof(player));
GetPlayerName(killerid, killer, sizeof(killer));
SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
}
Reply


Messages In This Thread
Why doesent this work? - by ThePwherer - 01.12.2010, 15:50
Re: Why doesent this work? - by Biesmen - 01.12.2010, 15:54
Re: Why doesent this work? - by ThePwherer - 01.12.2010, 16:03
Re: Why doesent this work? - by Biesmen - 01.12.2010, 16:44

Forum Jump:


Users browsing this thread: 3 Guest(s)