How to kill get score and if kill send message you got this score ..... - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to kill get score and if kill send message you got this score ..... (
/showthread.php?tid=539757)
How to kill get score and if kill send message you got this score ..... -
FloxX - 30.09.2014
How to kill get score and if kill send message you got this score (get score from kill) From Killing (killerid)
??
No Ones help ??
Re: How to kill get score and if kill send message you got this score ..... -
Eth - 30.09.2014
onplayerdeath:
pawn Код:
SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
new string[120];
format(string,120,"You Got score from killing %s[%d!",GetName(playerid),playerid);
SendClientMessage(killerid,-1,string);
Getname function: put it any where in ur gm:
pawn Код:
stock GetName(playerid)
{
new pName[68];
GetPlayerName(playerid, (pName), sizeof(pName));
return pName;
}
Re: How to kill get score and if kill send message you got this score ..... -
FloxX - 30.09.2014
Thanks before , how to this ?? You get score %d <<<(get score after kill)