if(!strcmp(cmdtext,"/flashon",true))
{
new sirene[4];
sirene[0] = CreateObject(19419,0,0,-1000,0,0,0,100);
sirene[1] = CreateObject(19419,0,0,-1000,0,0,0,100);
sirene[2] = CreateObject(19419,0,0,-1000,0,0,0,100);
sirene[3] = CreateObject(19419,0,0,-1000,0,0,0,100);
AttachObjectToVehicle(sirene[0], GetPlayerVehicleID(playerid), 0.000000,0.150000,0.749999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(sirene[1], GetPlayerVehicleID(playerid), 1.575000,0.524999,-1.125000,0.000000,0.000000,89.099983);
AttachObjectToVehicle(sirene[2], GetPlayerVehicleID(playerid), -1.575000,0.599999,-1.125000,0.000000,0.000000,89.099983);
AttachObjectToVehicle(sirene[3], GetPlayerVehicleID(playerid), 0.000000,2.775001,-0.974999,0.000000,0.000000,0.000000);
return 1;
}
if(!strcmp(cmdtext,"/flashoff",true))
{
DestroyObject(sirene);
return 1;
}
errors:
error 017: undefined symbol "sirene"