SA-MP Forums Archive
Error Loading Certain Class - 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: Error Loading Certain Class (/showthread.php?tid=92614)



Error Loading Certain Class - john11johng - 21.08.2009

Hi

On my server I have two Teams Police and Robbers.

The police classes spawn fine but the robber classes don't here is what happens with the robbers.




Re: Error Loading Certain Class - RyDeR` - 21.08.2009

SetPlayerInterior(playerid,0);

Add this in OnPlayerSpawn.


Re: Error Loading Certain Class - James_Alex - 21.08.2009

mybe not the int id 0
it depends of his robbers base int
juste go to the robbers base then type "/interior" so you see the int id
then add "SetPlayerInterior(playerid, the id);
and itt's done


Re: Error Loading Certain Class - john11johng - 21.08.2009

Quote:
Originally Posted by [WsR
RyDeR ]
SetPlayerInterior(playerid,0);

Add this in OnPlayerSpawn.
Quote:
Originally Posted by ► James_Alex
mybe not the int id 0
it depends of his robbers base int
juste go to the robbers base then type "/interior" so you see the int id
then add "SetPlayerInterior(playerid, the id);
and itt's done
TY for replies, the first code worked great