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