hi ich habe mir einen tdm gemacht aber leider ist das falschpublic OnPlayerRequestClass(playerid,classid)
{
if (classid == 105,106,107) //grove
{
SetPlayerPos(playerid, 2498.1858,-1669.4891,13.3429);
SetPlayerCameraPos(playerid, 2494.7507,-1670.3331,13.3359);
SetPlayerCameraLookAt(playerid, 2498.1858,-1669.4891,13.3429);
}
if (classid == 102,103,104)//ballas
{
SetPlayerPos(playerid, 1939.4656,-1115.2239,27.4523);
SetPlayerCameraPos(playerid, 1939.1372,-1119.0253,26.4455);
SetPlayerCameraLookAt(playerid, 1939.4656,-1115.2239,27.4523);
}
if (classid == 108,109,110)//vagos
{
SetPlayerPos(playerid, 1883.4308,-2013.6560,13.5469);
SetPlayerCameraPos(playerid, 1883.2566,-2017.4554,13.5469);
SetPlayerCameraLookAt(playerid, 1883.4308,-2013.6560,13.5469);
}
if (classid == 288,163,164,165)//cops
{
SetPlayerPos(playerid, 1552.9172,-1674.8878,16.1953);
SetPlayerCameraPos(playerid, 1548.3038,-1675.7195,17.7408);
SetPlayerCameraLookAt(playerid, 1552.9172,-1674.8878,16.1953);
}
if (classid == 73,66,82,29,50)//zivilisten
{
SetPlayerPos(playerid, 1481.1151,-1769.7882,18.7958);
SetPlayerCameraPos(playerid, 1480.8606,-1765.7573,18.7958);
SetPlayerCameraLookAt(playerid, 1481.1151,-1769.7882,18.7958);
}
ist nur das wie ich es jetzt habe da ist alles bei der zivi cam aber ich will das ballas die ballas cam haben nicht das die cops die ballas cam haben wie mache ich das ?? hier mein script