Can someone tell me how to make classes for rp and u choose and spawn as civilian inside the binco.
pawn Код:
#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.
P.S the ways you are may make the selection with it Dialog or preview one.