Would this work?
#5

Quote:
Originally Posted by Onyewu
Посмотреть сообщение
Try this:

pawn Код:
CMD:engine(playerid,params[])
{
    new vid;
    vid = GetPlayerVehicleID(playerid);
    new engine,lights,alarm,doors,bonnet,boot,objective;
    GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);

    if (engine) {
        SetVehicleParamsEx(vid,0,lights,alarm,doors,bonnet,boot,objective);
        SCM(playerid,COLOR_LIGHTRED,"Engine shut down!");
    } else {
        SetVehicleParamsEx(vid,1,lights,alarm,doors,bonnet,boot,objective);
        SCM(playerid,COLOR_LIGHTRED,"The Vehicle Has Started!");
    }

    return 1;
}
Okay, And Finally, (I know im a pain)

How can i disable the real chat. Not really disable it fully but it only sends to players that are near
Reply


Messages In This Thread
Would this work? - by Shockey HD - 11.08.2011, 22:40
Re: Would this work? - by antonio112 - 11.08.2011, 22:43
Re: Would this work? - by Shockey HD - 11.08.2011, 23:24
Re: Would this work? - by Onyewu - 11.08.2011, 23:28
Re: Would this work? - by Shockey HD - 11.08.2011, 23:40
Re: Would this work? - by PrawkC - 11.08.2011, 23:43
Re: Would this work? - by antonio112 - 11.08.2011, 23:48

Forum Jump:


Users browsing this thread: 5 Guest(s)