[FilterScript] Always running engine + lights
#6

Quote:
Originally Posted by Las Venturas CNR
Посмотреть сообщение
pawn Код:
/*
 ======================================================
|[FS]always running engine + lights by [omegakai]Games |
 ======================================================
*/


#include <a_samp>

new engine,lights,alarm,doors,bonnet,boot,objective;

forward inclusion();

public OnFilterScriptInit()
{
    SetTimer("inclusion",5000,1);
    return 1;
}

public inclusion()
{
    for(new i=0; i<1000; i++) //1000-the number of cars on the server
    {
           if(IsPlayerInAnyVehicle(i))
           {
             if(GetPlayerState(i) == PLAYER_STATE_DRIVER))
             {
        new vehicle;
        vehicle = GetPlayerVehicleID(playerid);
        GetVehicleParamsEx(vehicle,engine,lights,alarm,doors,bonnet,boot,objective);
     SetVehicleParamsEx(vehicle,VEHICLE_PARAMS_ON,VEHICLE_PARAMS_ON,alarm,doors,bonnet,boot,objective);
    }
}
}
    return 1;
}
And that's a fail.
Reply


Messages In This Thread
Always running engine + lights - by Igorek - 26.03.2011, 06:45
Re: Always running engine + lights - by wheelman_WM - 26.03.2011, 07:58
Re: Always running engine + lights - by Abinesh™ - 26.03.2011, 10:01
Re: Always running engine + lights - by Den_Deluxe - 26.03.2011, 10:08
Re: Always running engine + lights - by Dream™ - 26.03.2011, 13:36
Re: Always running engine + lights - by wups - 26.03.2011, 16:21
Re: Always running engine + lights - by wups - 26.03.2011, 16:24
Re: Always running engine + lights - by Vlad_Dubonos - 26.03.2011, 16:28
Re: Always running engine + lights - by Igorek - 26.03.2011, 23:39
Re: Always running engine + lights - by Igorek - 27.03.2011, 10:34
Re: Always running engine + lights - by DRIFT_HUNTER - 27.03.2011, 10:52
Respuesta: Always running engine + lights - by SuperMarioRol - 29.04.2011, 17:02
Re: Always running engine + lights - by Vince - 29.04.2011, 17:09
Re: Always running engine + lights - by Phanto90 - 29.04.2011, 17:09
Respuesta: Always running engine + lights - by [DOG]irinel1996 - 29.04.2011, 17:19

Forum Jump:


Users browsing this thread: 1 Guest(s)