SA-MP Forums Archive
*** Terrible Title Removed - 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: *** Terrible Title Removed (/showthread.php?tid=387401)



*** Terrible Title Removed - Anthony © - 24.10.2012

http://i50.tinypic.com/21r2uw.png

I basically want to know how I can remove the [<< >> Spawn] and make it so it just spawns at a location according to their enum etc. I've messed around with SetSpawnInfo and stuff, though I'm not sure if it's something to do with TogglePlayerSpectating for the camera movement at the beginning? Just baffled and I know it's probably really easy :/


Re: I'm probably dumb. - Riddick94 - 24.10.2012

Did you tried look for solution on the ******/SA-MP search function? But, before you reply think twice.


Re: I'm probably dumb. - fiki574 - 24.10.2012

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
     TogglePlayerSpectating(playerid, 1); //removes << >> SPAWN
     SetSpawnInfo(...); //spawns player at and with those "..." details without offering a class selection
     SpawnPlayer(playerid); //spawns player, dont know where actually :P
     return 1;
}
Remember to use just 1 out of those 3!


Re: I'm probably dumb. - Anthony © - 24.10.2012

Thing is, I'm using a login dialog, so when you log in, it doesn't spawn, with TogglePlayerSpectating(playerid, 1); it just shows the sea from Red County, doesn't let me spawn. I just want to put my password on and spawn, the camera behind the player.