Hide OnPlayerRequestClass! [+REP For Help] -
M0HAMMAD - 08.09.2014
Hi Every Body !
I Want Hide OnPlayerRequestClass Just Like RolyPlay Servers.
When Player Enter His Password ( DIALOG_LOGIN ) He Will Be Fast Spawn ! And He Not See RequestClass.
How Can I Do This ?
I Only Add SpawnPlayer(playerid) And again RequestClass Will Be Show But If I Use Button
> Or
< Player
Will Be Spawn.
![Sad](images/smilies/sad.gif)
How Can I Destory OnPlayerRequestClass And Player Not See RequestClass And After OnPlayerConnect Fast Go To OnPlayerSpawn ?
Re: Hide OnPlayerRequestClass! [+REP For Help] -
DavidBilla - 08.09.2014
Use the SpawnPlayer(playerid) under OnPlayerRequestClass
Guess that'd work
Re: Hide OnPlayerRequestClass! [+REP For Help] -
M0HAMMAD - 08.09.2014
No It's Not Work I Sayed :
I Only Add SpawnPlayer(playerid) And again RequestClass Will Be Show But If I Use Button > Or < Player
Re: Hide OnPlayerRequestClass! [+REP For Help] -
DavidBilla - 08.09.2014
My question is, under what Callback did you add the SpawnPlayer code?
Re: Hide OnPlayerRequestClass! [+REP For Help] -
M0HAMMAD - 08.09.2014
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SpawnPlayer(playerid);
return 1;
}
Re: Hide OnPlayerRequestClass! [+REP For Help] -
DavidBilla - 08.09.2014
Refer this
https://sampforum.blast.hk/showthread.php?tid=314788
Re: Hide OnPlayerRequestClass! [+REP For Help] -
AroseKhanNiazi - 08.09.2014
Quote:
Originally Posted by M0HAMMAD
pawn Код:
public OnPlayerRequestClass(playerid, classid) { SpawnPlayer(playerid); return 1; }
|
CURRENTLY i think this is the fastest way founded.
Re: Hide OnPlayerRequestClass! [+REP For Help] -
M0HAMMAD - 08.09.2014
Dear
AroseKhanNaizi
No (Neighbor (Form Country)), When Player connect After Dialog Login He Will Be See RequestClass And Then ! When Use Button
< Or > Will Be Spawn.
Re: Hide OnPlayerRequestClass! [+REP For Help] -
AroseKhanNiazi - 08.09.2014
but don't just adding SpawnPlayer(playerid); spawns players ? as soon as he is sent to onplayerrequestcalss...
Re: Hide OnPlayerRequestClass! [+REP For Help] -
Pawnify - 08.09.2014
Find OnPlayerDialogResponse, and find the dialog where they player hits continue after logging in, add SpawnPlayer(playerid) after that there.
That should spawn the player right after login