How to skip Class Requesting (OnPlayerRequestClass)??? -
Nexotronix - 23.04.2011
I tryed:
then
^ This was reason of GTA Blue screen on spawn ^
then
[pawn]SetSpawnInfo(...)[/playerid]
Just tell me, how in RP server skips OnPlayerRequestClass(...) ??
Re: How to skip Class Requesting (OnPlayerRequestClass)??? -
Seven_of_Nine - 23.04.2011
Ima bump this for you, cuz I'm interested too..
Re: How to skip Class Requesting (OnPlayerRequestClass)??? -
Tommy_Mandaz - 23.04.2011
bump
Re: How to skip Class Requesting (OnPlayerRequestClass)??? -
sciman001 - 23.04.2011
Ima also bump because i would like to have this too.
Re: How to skip Class Requesting (OnPlayerRequestClass)??? -
Michael@Belgium - 23.04.2011
lol 3 reply's = 3 bumps xD
But i don't think it's possible ..
Re: How to skip Class Requesting (OnPlayerRequestClass)??? - XFlawless - 23.04.2011
https://sampwiki.blast.hk/wiki/SetSpawnInfo
Re: How to skip Class Requesting (OnPlayerRequestClass)??? -
Katros - 23.04.2011
PHP код:
public OnPlayerConnect(playerid, classid)
{
SetSpawnInfo( playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0 );
}
public OnPlayerRequestClass(playerid, classid)
{
SpawnPlayer(playerid);
}
Recommended
Re: How to skip Class Requesting (OnPlayerRequestClass)??? -
Nexotronix - 23.04.2011
Quote:
Originally Posted by Katros
PHP код:
public OnPlayerConnect(playerid, classid)
{
SetSpawnInfo( playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0 );
}
public OnPlayerRequestClass(playerid, classid)
{
SpawnPlayer(playerid);
}
Recommended 
|
BIG thanks!!!!!! it works, but i have intro like in Deathly Combinations, and after this player spawnig, so i decided show register dialog with changing player's camera pos in public OnPlayerSpawn
Damn thank you dude!
Re: How to skip Class Requesting (OnPlayerRequestClass)??? -
sanya_gnoy - 29.08.2012
Quote:
Originally Posted by Katros
PHP код:
public OnPlayerConnect(playerid, classid)
{
SetSpawnInfo( playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0 );
}
public OnPlayerRequestClass(playerid, classid)
{
SpawnPlayer(playerid);
}
Recommended 
|
does not work

after connect skips class choice, but after pressing F4 player freezes and does not press the button spawn.
how to disable the F4 button(I saw it on some server)? can you give me full code pwn??
Re: How to skip Class Requesting (OnPlayerRequestClass)??? -
DarkPower2 - 28.06.2014
PHP код:
public OnPlayerRequestClass(playerid, classid)
{
SetSpawnInfo( playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0 );
SpawnPlayer(playerid);
return 1;
}
public OnPlayerConnect(playerid)
{
SetSpawnInfo( playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0 );
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "SPAWNER", "SPAWN?", "YES", "NO");
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(dialogid)
{
case 1:
{
if (response)
{
SpawnPlayer(playerid);
}
}
}
return 1;
}