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

Noticed a few servers have managed to do this, looking for an example.
Reply
#2

Try to explain clearer.
Reply
#3

I want to attach objects to a player, depending on their skin as they toggle through the AddPlayerClasses.
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)