policeligts
#1

i found this command to put policelights on any vehicle but it doesnt saves them afer restart ets.. so how can i make save them

CMD:coplight(playerid,params[])
{
lights = CreateObject(19419,0.0,0.0,0.0,0.0,0.0,0.0,100.0);//use objectid 19419 or 19419, these are the light bars
new vehicleid = GetPlayerVehicleID(playerid);
AttachObjectToVehicle(lights, vehicleid, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0);//play around with this coords a bit, i am not sure which coords are good...
return 1;
}
CMD:removecoplights(playerid,params[])
{
DestroyObject(lights);
return 1;
}
Reply


Messages In This Thread
policeligts - by Starky Yakavetta - 17.05.2013, 12:12
Re : policeligts - by MCZOFT - 17.05.2013, 12:31
Re: policeligts - by Starky Yakavetta - 17.05.2013, 13:01
AW: policeligts - by HurtLocker - 17.05.2013, 13:27

Forum Jump:


Users browsing this thread: 1 Guest(s)