Fel a teteére
#define POLICE -1616.1700,681.5549,7.1875,182.8109,24,50,25,100,31,300
#define CIVIL -2622.2449,1400.4200,7.1016,199.4732,0,0,0,0,0,0
Ezt az ongamemodeinthez:
//Sün
AddPlayerClass(280, POLICE);
AddPlayerClass(285, POLICE);
AddPlayerClass(287, POLICE);
//Civil
AddPlayerClass(208, CIVIL);
AddPlayerClass(29, CIVIL);
AddPlayerClass(2, CIVIL);
Ezt úgyis tudod gondolom
public OnPlayerRequestClass(playerid, classid)
{
switch (classid)
{
case 0..2:
{
gTeam[playerid] = TEAM_POLICE;
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1616.1194,680.0101,7.1901);
SetPlayerFacingAngle(playerid, 230.4658);
SetPlayerCameraPos(playerid,-1614.5226,678.2333,7.1875);
SetPlayerCameraLookAt(playerid,-1616.1194,680.0101,7.1901);
ApplyAnimation(playerid,\"PED\",\"IDLE_CHAT\",4.0,1,1,1,1,1);
SetPlayerColor(playerid,playerColors[playerid]);
GameTextForPlayer(playerid, \"~y~Rendör\", 1000, 3);
}
case 3..5:
{
gTeam[playerid] = TEAM_CIVIL;
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1616.1194,680.0101,7.1901);
SetPlayerFacingAngle(playerid, 230.4658);
SetPlayerCameraPos(playerid,-1614.5226,678.2333,7.1875);
SetPlayerCameraLookAt(playerid,-1616.1194,680.0101,7.1901);
ApplyAnimation(playerid,\"PED\",\"IDLE_CHAT\",4.0,1,1,1,1,1);
SetPlayerColor(playerid,playerColors[playerid]);
GameTextForPlayer(playerid, \"~y~Civil\", 1000, 3);
}
return 1;
}
Az on player spawn-t meg már gondolom megoldod