Advertisement
Guest User

System glodu.

a guest
Aug 26th, 2015
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. public OnPlayerUpdate(playerid)
  2. {
  3. format(string, sizeof(string), "%d%", PlayerInfo[playerid][pGlod]);
  4. TextDrawSetString(Glod[playerid], string);
  5. }
  6.  
  7. public OdejmijGlod(playerid)
  8. {
  9. PlayerInfo[playerid][pGlod]--;
  10. return 1;
  11. }
  12.  
  13. public OnGameModeInit()
  14. {
  15. SetTimer("OdejmijGlod", 20000, true);
  16. return 1;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement