View Full Version : Skinnns giving rep

07/12/2013, 05:14 AM
Can someone tell me how to make classes for rp and u choose and spawn as civilian inside the binco.

07/12/2013, 06:05 AM
here : http://forum.sa-mp.com/showthread.php?t=340754

it'll help :D

07/12/2013, 06:10 AM
#define TEAM_CAV 0 // at the top of script

// at OnGameModeInt
AddPlayerClass((skin,207.8985,-107.1486,1005, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo) // This float for binco

// you can edit these info, they are the info of player's spawn..

// now blow the script

stock SetPlayerTeamFromClass(playerid, classid) // making a stock to make class selection
switch(classid) // here we are gonna set the classes as cases each one by one
case 0:
SetPlayerTeam(playerid, TEAM_CAV);
SetPlayerColor(playerid, -1); // as some examples
SetPlayerInterior(playerid, 15);

if you want to get a spawn pos & interior id for some interior, go inside some of them , and do /save and /interior.
more info here http://wiki.sa-mp.com/wiki/InteriorIDs

P.S the ways you are may make the selection with it Dialog or preview one.