30.09.2014, 06:51
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
Function Get Name
Sorry for my bad english
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);
Code:
stock GetName(playerid) { new pName[68]; GetPlayerName(playerid, (pName), sizeof(pName)); return pName; }