/engine system help
#1

plz help me with system engine off/on to command /engine on/of engines plz start stop engine to command /engine plz script thx
Reply
#2

pawn Код:
CMD:engine(playerid, params[])
{
    new engine, lights, alarm, doors, bonnet, boot, objective, vehicleid, string[128];
    if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You are not driving a vehicle.");
    if(vehicleid == 509 || vehicleid == 481 || vehicleid == 510) return SendClientMessage(playerid, -1, "Bicycles have no engine.");
    vehicleid = GetPlayerVehicleID(playerid);
    GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
    if(!engine)
    {
        SetVehicleParamsEx(vehicleid, 1, lights, alarm, doors, bonnet, boot, objective);
    }
    else
    {
        SetVehicleParamsEx(vehicleid, 0, lights, alarm, doors, bonnet, boot, objective);
    }
    return 1;
}
Reply
#3

emd command /engine no have plz post fs
Reply
#4

plz complet /engine fs
Reply
#5

what english please and this is /engine command have u heard of zcmd :l
Reply
#6

sorry im romanian im need command complete /engine for on/off engine ok plz all file scipt exameple
Код:
SencCommand '; ! "/engine" stop/start engine whit and write your engine is on / off. and writes you give / write Name X engine eg masca12 start / stop engine! : D plz help
Reply
#7

Dude see here: Click.
Note: you need zcmd(Click) and a_samp(Click) includes.

Good luck!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)