problem with OnPlayerRequestClass
#5



Quote:
Originally Posted by verlaj
Посмотреть сообщение
the problem could be with Map1 and Map2 stuff, it usually works if i only write ShowPlayerDialog, it seems i need to create new function for that
No, you only need to assing a value to Map1 or Map2 for someone in the script, usually before OnPlayerRequestClass, so it's in OnPlayerConnect.

Example:

Map1[playerid] = 1;
or
Map2[playerid] = 1;

Also, what are you trying to do? Making the player choose a team ?
If yes, you don't need that variable. You only need to show 1 dialog and ask the player which team you want.
Then in on player dialog you'll set up the variable of the team.

Edit: Sorry, I didn't mean to say noob, I wanted to say need.
Reply


Messages In This Thread
problem with OnPlayerRequestClass - by verlaj - 30.04.2013, 11:53
Re: problem with OnPlayerRequestClass - by Pottus - 30.04.2013, 11:54
Re: problem with OnPlayerRequestClass - by RVRP - 30.04.2013, 11:55
Re: problem with OnPlayerRequestClass - by verlaj - 30.04.2013, 11:58
Re : problem with OnPlayerRequestClass - by lelemaster - 30.04.2013, 12:02
Re: problem with OnPlayerRequestClass - by Pottus - 30.04.2013, 12:07
Re: problem with OnPlayerRequestClass - by verlaj - 30.04.2013, 15:32

Forum Jump:


Users browsing this thread: 1 Guest(s)