SA-MP Forums Archive
A 0.3 question... yes, I'm too old xD - 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: A 0.3 question... yes, I'm too old xD (/showthread.php?tid=293098)



A 0.3 question... yes, I'm too old xD - CTCCoco - 26.10.2011

I'm scripting since 2008 (sa-mp 0.1-2) and I don't know how to quit the new "<<" ">>" SPAWN bottons. I suposse there will be some function to do this.



Somebody can help me, please?

Thanks.


Re: A 0.3 question... yes, I'm too old xD - FireCat - 26.10.2011

SpawnPlayer(playerid);
Under OnPlayerRequestClass :b


Re: A 0.3 question... yes, I'm too old xD - sansko - 26.10.2011

EDIT: too slow


Respuesta: Re: A 0.3 question... yes, I'm too old xD - CTCCoco - 26.10.2011

Thank you.


Re: A 0.3 question... yes, I'm too old xD - Rzzr - 26.10.2011

If you don't want them to be visible, use TogglePlayerSpectating under OnplayerRequestClass.


Re: A 0.3 question... yes, I'm too old xD - MP2 - 27.10.2011

Use TogglePlayerSpectating under OnPlayerRequestClass, set a variable to 1, check under OnPlayerUpdate if said variable is 1 and set a camera. [This is how it's done in grandlarc.]