10.08.2010, 14:29
Ok so i want when a player dies in my script, the killer gets 1 score and when a player dies, it says like the "WASTED" sign but as in "Noob!"
Here is my OnPlayerDeath:
Yeah i know, its pretty basic stuff and i have no idea how to use the %s thing. Is it like a variable or what? Im really new at scripting. Yeah help would be really appreciated
Here is my OnPlayerDeath:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendClientMessage(playerid, COLOR_BRIGHTRED, "You have lost $1000 for dieing!");
SendClientMessage(killerid, COLOR_GREEN, "Good job on killing %s you got $1000 and 1 score!", playerid);
GivePlayerMoney(playerid, -1000);
GivePlayerMoney(killerid, 1000);
return 1;
}