10-07-2009, 09:05 PM
(This post was last modified: 10-07-2009, 09:32 PM by SKE92beyond)
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
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 i've just seen that there is a sub-sub-section called Scripting , i hope someone will move this topic
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 i've just seen that there is a sub-sub-section called Scripting , i hope someone will move this topic