SA-MP Forums Archive
Help ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Help ? (/showthread.php?tid=278514)



Help ? - Swizzzy - 22.08.2011

How do i add multiple classes with different spawns and Camera look ats ?

If you could post a code, would be great


Re: Help ? - Unknown_Killer - 22.08.2011

to add a class use

pawn Код:
AddPlayerClass(0,0,0,0,0,0,0,0,0,0,0);

AddPlayerClass(skin id,x pos,y pos,z pos,player angle,0,0,0,0,0,0);
and for set a camera first do /save and the position you want then add the x pos + y pos + z pos

SetPlayerCameraPos(playerid, x pos,y pos,z pos);

and

SetPlayerCameraLookAt(playerid, x pos,y pos,z pos);


Re: Help ? - Swizzzy - 22.08.2011

Did you even read it ? ^^

I need help to create MULTIPLE Classes with Different Camera Positions and Spawns, Not just one...