Advertisement
TheKiller

Untitled

Sep 16th, 2011
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. stock IsNameConnected(name[])
  2. {
  3. new Pname[24];
  4. for (new x; x<MAX_PLAYERS; x++)
  5. {
  6. if(!IsPlayerConnected(x)) continue;
  7. GetPlayerName(i, Pname, 24);
  8. if(!strcmp(Pname, name, true)) return 1;
  9. }
  10. return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement