Kill Get Score And Message For Score [HELPP] [BUG] [ASK]
#1

How To "You Got score %d << Got Score From Killing Example Random 17

And Message Say , You God Score 17 From Kill blablabla
How To ??

OnPlayerDeath
Code:
SetPlayerScore(killerid,GetPlayerScore(killerid)+random(25));
new string[120];
format(string,120,"You Got score from killing %s[%d]!",GetName(playerid),playerid);
SendClientMessage(killerid,-1,string);
Function Get Name
Code:
stock GetName(playerid)
{
    new pName[68];
    GetPlayerName(playerid, (pName), sizeof(pName));
    return pName;
}
Sorry for my bad english
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)