Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock IsNameConnected(name[])
- {
- new Pname[24];
- for (new x; x<MAX_PLAYERS; x++)
- {
- if(!IsPlayerConnected(x)) continue;
- GetPlayerName(i, Pname, 24);
- if(!strcmp(Pname, name, true)) return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement