Spawn Error
#1

Hey guys, I'm currently developing a server but have a slight problem.

Whenever the player has finished the registration process, I put 'SpawnPlayer(playerid);' in the code, However it still asks you to press the 'SPAWN' button. Also, when I press the 'SPAWN' button i spawn in Las Venturas with CJ's skin, on the elevator stairs? Help?

If you need any piece of the code, please ask.
Kind Regards,

Jigsaw
Reply
#2

Make sure you've added this to your script;
PHP код:
SetSpawnInfo(playeridteamskinFloat:xFloat:yFloat:zFloat:Angleweapon1weapon1_ammoweapon2weapon2_ammoweapon3weapon3_ammo); 
To remove the "Spawn" buttons and such just make the player enter spectate mode;
PHP код:
TogglePlayerSpectating(playeridtrue); 
Want to spawn the player? Use
PHP код:
SpawnPlayer(playerid);
TogglePlayerSpectating(playeridfalse); 
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)