Not able to get a player's ID by his name.
#2

Is the loop working?
I'm not sure if this would solve anything, but change the loop to for(new i = 0; i < MAX_PLAYERS; i++), remove the '='.
That's all I see.
You might want to debug the code if you're not sure, just place 'print("So far 1");', 'print("So far 2");' troughout the function, and when you call it, look in your console to see whether it's called or not.
Reply


Messages In This Thread
Not able to get a player's ID by his name. - by Denying - 16.03.2013, 12:08
Re: Not able to get a player's ID by his name. - by Jstylezzz - 16.03.2013, 12:19
Re: Not able to get a player's ID by his name. - by Denying - 16.03.2013, 12:21
Re: Not able to get a player's ID by his name. - by park4bmx - 16.03.2013, 13:06
Re: Not able to get a player's ID by his name. - by Denying - 16.03.2013, 13:34

Forum Jump:


Users browsing this thread: 1 Guest(s)