Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerDisconnect(playerid, reason)
- {
- TextDrawDestroy(ScoreTextdraw[playerid]);
- return 1;
- }
- forward scoretimer(playerid);
- public scoretimer()
- {
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- new score[128];
- format(score, sizeof(score), "Score:%d",GetPlayerScore(i));
- TextDrawSetString(ScoreTextdraw[i], score);
- }
- }
- return 1;
- }
- public OnPlayerSpawn(playerid)
Advertisement
Add Comment
Please, Sign In to add comment