Advertisement
Guest User

Untitled

a guest
Aug 11th, 2016
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. forward GlobalTimer1(playerid);
  2. public GlobalTimer1(playerid)
  3. {
  4. for(new i=0; i<MAX_PLAYERS; i++)
  5. {
  6. for(new j=0;j>MAX_PLAYERS;j++)
  7. {
  8. if(Spieler[j][Fraktion] == 1)
  9. {
  10. if(Spieler[i][Wanteds] >= 1)
  11. {
  12. new string[50];
  13. format(string,sizeof(string),"Name: %s [%d]\nWanteds: %d",SpielerName(i),i,Spieler[i][Wanteds]);
  14. Update3DTextLabelText(SpielerWantedAnzeige[i], COLOR_BLUE, string);
  15. }
  16. else if(Spieler[i][Wanteds] == 0)
  17. {
  18. Update3DTextLabelText(SpielerWantedAnzeige[i], COLOR_BLUE, " ");
  19. }
  20. }
  21. }
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement