Hallo com ich habe eine frage unswa habe ich meine Frak cars so
//oben im Script
//Fraktions Cars
new policeCars[53];
new medicCars[40];
new oamtCars[22];
unter OnGameModeInit
policeCars[0] = AddStaticVehicleEx(596,1535.7977,-1667.5051,13.1040,359.4606,79,1,-1);
policeCars[1] = AddStaticVehicleEx(596,1535.7909,-1677.7257,13.1040,0.3027,79,1,-1);
policeCars[2] = AddStaticVehicleEx(523,1587.6310,-1680.0526,5.4563,270.0000,86,86,-1);
policeCars[3] = AddStaticVehicleEx(523,1587.6613,-1678.3800,5.4560,270.0454,86,86,-1);
policeCars[4] = AddStaticVehicleEx(523,1587.6171,-1676.6191,5.4560,270.0634,86,86,-1);
policeCars[5] = AddStaticVehicleEx(523,1587.6373,-1674.9209,5.4484,270.1465,86,86,-1);
policeCars[6] =
Und die anderen alle
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
for(new i = 0; i<sizeof(policeCars); i++)
{
if(GetPlayerVehicleID(playerid) == policeCars[i])
{
if(isPlayerInFrakt(playerid, 1) || isAdmin(playerid,1337))
{
}
else
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Du bist kein Mitglied des LSPD's!");
}
}
}
}
if(newstate == PLAYER_STATE_DRIVER)
{
for(new i = 0; i<sizeof(medicCars); i++)
{
if(GetPlayerVehicleID(playerid) == medicCars[i])
{
if(isPlayerInFrakt(playerid, 3) || isAdmin(playerid,1337))
{
}
else
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Du bist kein Mitglied des Medic's!");
}
}
}
}
if(newstate == PLAYER_STATE_DRIVER)
{
for(new i = 0; i<sizeof(oamtCars); i++)
{
if(GetPlayerVehicleID(playerid) == oamtCars[i])
{
if(isPlayerInFrakt(playerid, 4))
{
}
else
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Du bist kein Mitglied des Oamt's!");
}
}
}
}
Wie kann ich das machen das die groove cars dann aufm kennzeichnen das Groove Street drauf zu stehen haben bzw Groove