17.07.2012, 16:47
in a dialog
Код:
if(listitem == 6) { //police SetPVarInt(playerid, "Status", 1); SetPVarInt(playerid, "neon12", CreateDynamicObject(18646,0,0,0,0,0,0)); SetPVarInt(playerid, "neon13", CreateDynamicObject(18646,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, "neon12"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachObjectToVehicle(GetPVarInt(playerid, "neon13"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0xFFFFFFAA, "neon installed"); }