11.03.2011, 09:54
can anyone find a [FS].In that fs light will blows under the vehicle.(like a car mode)
CMD:neon(playerid, params[])
{
#pragma unused params
if(IsPlayerConnected(playerid))
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_RED, "ERROR : You have to be in a vehicle to use this command!");
if(GetPlayerMoney(playerid) < 2500) return SendClientMessage(playerid, COLOR_RED, "ERROR : You don't have enough Money! 2500$ needed!");
GivePlayerMoney(playerid, -2500);
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon", CreateObject(18648,0,0,0,0,0,0));
SetPVarInt(playerid, "neon1", CreateObject(18648,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.65, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.65, 0.0, 0.0, 0.0);
SendClientMessage(playerid, COLOR_BLUE, "SUCESS : Neon Lights have been installed!");
}
return true;
}