Hello There, Guest! Login or Register


About Class Selection
#1
Well i think this is the only section where i can post my question so i ask...

I saw that LVP (when a player connect) check if that account exist, if so it skip the class selection right? And it spawns the player in the login room.

So i'd like to make a thing like that in my server too..
I've tried with a lot of things like
Code:
public OnPlayerRequestClass(playerid, classid)
{
    if(AccountExist)
    {
        SpawnPlayer(playerid);
                return 0;
    }
        else
       {
             //class selection
       }
return 1;
}

I've tried to change return 0 in return 1 and lot of stuff but nothing, i cannot skip tha class selection without making something wrong, and so i've tried to ask here...

So if you scripters can say how its in LVP i will be very grateful.

Regards, SKE92beyond :)

EDIT: OK :P i've just seen that there is a sub-sub-section called Scripting :+, i hope someone will move this topic :+
Reply


Messages In This Thread
About Class Selection - by SKE92beyond - 10-07-2009, 09:05 PM
Re: About Class Selection - by Matthias - 10-08-2009, 06:12 AM
Re: About Class Selection - by Lithirm - 10-08-2009, 06:23 AM
Re: About Class Selection - by Matthias - 10-08-2009, 06:27 AM
Re: About Class Selection - by SKE92beyond - 10-08-2009, 03:18 PM
Re: About Class Selection - by Matthias - 10-08-2009, 04:02 PM
Re: About Class Selection - by SKE92beyond - 10-08-2009, 04:17 PM
Re: About Class Selection - by Matthias - 10-08-2009, 05:14 PM