How would I detect a players class selection BEFORE they spawn?
#4

Put it in the OnPlayerRequestClass(playerid, classid)

Everytime a the player moves one through the selection, that event is called. Simply add a switch with "classid" and add the right objects.

pawn Код:
OnPlayerRequestClass(playerid, classid)
{
   switch(classid)
   {
       case 0: // Add certain objects for each class
   }
}
Reply


Messages In This Thread
How would I detect a players class selection BEFORE they spawn? - by Hoborific - 23.01.2012, 09:36
Re: How would I detect a players class selection BEFORE they spawn? - by MP2 - 23.01.2012, 10:01
Re: How would I detect a players class selection BEFORE they spawn? - by Hoborific - 23.01.2012, 10:09
Re: How would I detect a players class selection BEFORE they spawn? - by viper_viper - 23.01.2012, 10:28

Forum Jump:


Users browsing this thread: 1 Guest(s)