04.01.2016, 16:24
When the player enters the last checkpoint:
randommoney = the money you said the player receives randomly.
Код:
new pName[MAX_PLAYER_NAME], string[128]; GetPlayerName(playerid,pName,sizeof(pName)); format(string,sizeof(string), "{58FF0A}%s{FFFFFF}, you have earned {58FF0A}%d$ {FFFFFF}for completing the joob.",pName,randommoney); SendClientMessage(playerid,-1,string);