02.07.2013, 16:25
Hey Noah, I have nothing against you so.
Have you taken note you need to GetPlayerScore?
Don't replace your thing with that but you will need to implement it in the line.
Or use this to help you out.
Have you taken note you need to GetPlayerScore?
Quote:
format(string, sizeof(string), "Score: %i",GetPlayerScore(playerid)); |
Or use this to help you out.
Код:
public OnPlayerCommandText(playerid,text[]) { if(!strcmp(cmdtext,"/score",true)) { new string[128]; format(string, sizeof(string), "Score: %i",GetPlayerScore(playerid)); SendClientMessage(playerid, COLOR_ORANGE, string); return 1; } return 0; }