Siren Help
#1

I recently had a idea.
To put siren "objects" on to civ cars. for FBI etc.

ALthough, i keep getting errors "array mismatch"

How does one do this

new siren[MAX_VEHICLES];

if(strcmp(cmd, "/siren", true) == 0)
{
if(PlayerInfo[playerid][pFaction] != 255 && DynamicFactions[PlayerInfo[playerid][pFaction]][fType] == 1)
{
new vehicleid = GetPlayerVehicleID(playerid);
siren[vehicleid] = CreateObject(18646, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
AttachObjectToVehicle(siren, vehicleid, 0.0, 0.0, 2.0 , 0.0, 0.0, 0.0);
}
else SendClientMessage(playerid, COLOR_LSPD, "You may not use this Command!");
return 1;
}

And im not sure how to do it yet, im just trying.

Can somebody help me or point me in the right direction
Reply


Messages In This Thread
Siren Help - by euRo - 16.06.2011, 17:29
Re: Siren Help - by Vince - 16.06.2011, 17:41
Re: Siren Help - by euRo - 16.06.2011, 18:03
Re: Siren Help - by euRo - 17.06.2011, 03:02
Re: Siren Help - by SpiderWalk - 17.06.2011, 03:19
Re: Siren Help - by euRo - 17.06.2011, 03:25
Re: Siren Help - by SpiderWalk - 17.06.2011, 03:32
Re: Siren Help - by Deskoft - 17.06.2011, 03:33
Re: Siren Help - by euRo - 17.06.2011, 14:07

Forum Jump:


Users browsing this thread: 1 Guest(s)