Ich bekomme immer einen Error:
if(GetVehicleModel(tmpcar) == 560)//sultan
{
sirene[GetPlayerVehicleID(playerid)] = CreateObject(19419,0,0,0,0,0,0,100);
sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
sirene4[GetPlayerVehicleID(playerid)] = CreateObject(19292,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0, 0, 0.80, 0, 0, 0);//Vorne Mitte
AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
AttachObjectToVehicle(sirene4[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0,0.9,0.4,0,0,0);//Mittig im Fenster
new Float:xsirene, Float:ysirene, Float:zsirene;
GetPlayerPos(playerid, xsirene, ysirene, zsirene);
PlaySoundForRange(3002, xsirene, ysirene, zsirene, 30.0)
SendClientMessage(playerid,Grün,"Sie haben das Blaulicht erfolgreich eingeschaltet.");
UCL[GetPlayerVehicleID(playerid)] = 1; //ERROR
return 1;
}
ErrorCode
C:\Users\Christian\Desktop\World of San Andreas 4.0.2\gamemodes\WorldofSanAndreas.pwn(17732) : error 001: expected token: ";", but found "-identifier-"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Danke