OnPlayerRequestClass~delete - 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: OnPlayerRequestClass~delete (
/showthread.php?tid=330047)
OnPlayerRequestClass~delete -
Roko_foko - 31.03.2012
Is there any way to delete callback OnPlayerRequestClass.
I don't want message to '{<<} {>>} {SPAWN}' ever appear in game.
Tried to delete it from script but still the message appears. Please help! Thank you!
Re: OnPlayerRequestClass~delete -
mineralo - 31.03.2012
try on player connect write Spawn(playerid) its could avoid to choose skin
Re: OnPlayerRequestClass~delete -
AndreT - 31.03.2012
Another quite effective way is to put the player in spectating mode: TogglePlayerSpectating(playerid, true) under OnPlayerRequestClass.
There's one downside to this that I lately discovered though: in spectating mode, keys are not detected. I haven't had anyone confirm this for me nor have I done any research, but I'm afraid that's the case.
Re: OnPlayerRequestClass~delete -
Roko_foko - 31.03.2012
Thank you guys. You both earned reputation point
. I solved it myself with SetSpawnInfo and SpawnPlayer functions.