05.05.2012, 22:17
Ok, so I have made a simple command to attach the new 0.3e police light bar to a vehicle.
When I go in game, it doesn't attach it to the vehicle.
I am using both 0.3e Server and Client.
Also, I don't get any warnings nor errors when I compile.
+Rep
pawn Код:
if(strcmp(cmd, "/siren", true) == 0)
{
new vehicleid = GetPlayerVehicleID(playerid);
AttachObjectToVehicle(19420, vehicleid, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0);
return 1;
}
I am using both 0.3e Server and Client.
Also, I don't get any warnings nor errors when I compile.
+Rep