SA-MP Forums Archive
Spectate NPC in class selection? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Spectate NPC in class selection? (/showthread.php?tid=124343)



Spectate NPC in class selection? - Hydraz - 30.01.2010

hi! =)

does anybody know, is it possible to spectate an NPC in the class selection?
I mean, OnPlayerRequestClass and then something with SpectateVehicle ?
but how??
btw, sry for my bad english :P

well, thanx =)


Re: Spectate NPC in class selection? - [HiC]TheKiller - 30.01.2010

I don't think you can, when you spec someone when they are in OnPlayerRequestClass it doesn't spec them.


Re: Spectate NPC in class selection? - ray187 - 30.01.2010

Just try it out and throw that into your OnPlayerRequestClass?

TogglePlayerSpectating(playerid,1);
PlayerSpectatePlayer(playerid,npcid);