Bypassing OnPlayerRequestClass
#1

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 ?
Reply
#2

Bumping it up .
Reply
#3

Try placing the SetSpawnInfo and SpawnPlayer under OnPlayerRequestClass. That should spawn them without them ever seeing request class screen.
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)