29.05.2014, 13:11
Okay so my car attachment is up in the sky, above my car.
I want it to be on my car not above it.. Command is made by ZCMD and it is like this:
How do I lower it down, do I lower the CreateObject's Z coordinate down or? By the way, can someone show me what is wrong with my ELSE? the error i get is: invalid expression, assumed zero
I want it to be on my car not above it.. Command is made by ZCMD and it is like this:
Код:
CMD:pursuit(playerid, params[]) { new light = CreateObject(18646,2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0); new vehmodel = GetVehicleModel(GetPlayerVehicleID(playerid)); if (vehmodel == 541 || vehmodel == 560) SendClientMessage(playerid, 0x2641FEAA, "You've put police light. Go get him!"); { AttachObjectToVehicle(light, GetPlayerVehicleID(playerid), 0, 0, 2, 0, 0, 0); } else { SendClientMessage(playerid, 0xAA3333AA, "You're not in police pursuit vehicle!"); } return 1; }