Bypassing OnPlayerRequestClass - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Bypassing OnPlayerRequestClass (
/showthread.php?tid=506471)
Bypassing OnPlayerRequestClass -
Immortal_LTU - 13.04.2014
Hello i need a little help .
Code :
Код:
//spawn info
TogglePlayerSpectating(playerid, 0);
SetSpawnInfo( playerid, 0, 0, -311.8508,1539.3843,75.5625, 269.15, 26, 36, 28, 150, 0, 0 );
SpawnPlayer(playerid);
//
i use it under my registration code but it doesn't spawn me .
Any solutions ?
Re: Bypassing OnPlayerRequestClass -
Immortal_LTU - 13.04.2014
Bumping it up .
Re: Bypassing OnPlayerRequestClass -
Chenko - 13.04.2014
Try placing the SetSpawnInfo and SpawnPlayer under OnPlayerRequestClass. That should spawn them without them ever seeing request class screen.
Re: Bypassing OnPlayerRequestClass -
MrCallum - 13.04.2014
I have for fort carson
Quote:
public OnPlayerRequestClass(playerid, classid)
{
SetSpawnInfo( playerid, 0,0,-183.0428,1133.5691,19.7422,90.2917,0,0,0,0,0,0);
SpawnPlayer(playerid);
return 1;
}
|
You have to put it under OnPlayerRequestClass
_______________________________
+Rep for helping you