Advertisement
toribio

toribio

Apr 3rd, 2009
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. public OnPlayerRequestClass(playerid, classid)
  2. {
  3.     new String[256], count;
  4.     GangID[playerid] = classid;
  5.     for(new i; i < MAX_PLAYERS; i++)
  6.         if(GangID[i] == classid && i != playerid && IsPlayerConnected(i))
  7.             count++;
  8.     format(String, sizeof String, "Membros da Gang Online Agora: %d", count);
  9.     TextDrawSetString(GangCount,String);
  10.     TextDrawShowForPlayer(playerid,GangCount);
  11.     return 1;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement