Hide OnPlayerRequestClass! [+REP For Help]
#1

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.
How Can I Destory OnPlayerRequestClass And Player Not See RequestClass And After OnPlayerConnect Fast Go To OnPlayerSpawn ?
Reply
#2

Use the SpawnPlayer(playerid) under OnPlayerRequestClass

Guess that'd work
Reply
#3

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
Reply
#4

My question is, under what Callback did you add the SpawnPlayer code?
Reply
#5

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SpawnPlayer(playerid);
    return 1;
}
Reply
#6

Refer this
https://sampforum.blast.hk/showthread.php?tid=314788
Reply
#7

Quote:
Originally Posted by M0HAMMAD
Посмотреть сообщение
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SpawnPlayer(playerid);
    return 1;
}
CURRENTLY i think this is the fastest way founded.
Reply
#8

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.
Reply
#9

but don't just adding SpawnPlayer(playerid); spawns players ? as soon as he is sent to onplayerrequestcalss...
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)