What am I doing Wrong? (Vehicle params)
#2

You know that this code will run forever until the player gets out?
pawn Код:
while(IsPlayerInAnyVehicle(playerid))
    {
        GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
        SetVehicleParamsEx(vehicleid, engine, VEHICLE_PARAMS_OFF, alarm, doors, bonnet, boot, objective);
        SetVehicleParamsEx(vehicleid, engine, VEHICLE_PARAMS_ON, alarm, doors, bonnet, boot, objective);
    }
Reply


Messages In This Thread
What am I doing Wrong? (Vehicle params) - by Hiitch - 30.11.2010, 22:12
Re: What am I doing Wrong? (Vehicle params) - by Grim_ - 30.11.2010, 22:13
Re: What am I doing Wrong? (Vehicle params) - by Hiitch - 30.11.2010, 22:15
Re: What am I doing Wrong? (Vehicle params) - by Grim_ - 30.11.2010, 22:21
Re: What am I doing Wrong? (Vehicle params) - by Hiitch - 30.11.2010, 22:22
Re: What am I doing Wrong? (Vehicle params) - by bn102 - 01.12.2010, 06:29

Forum Jump:


Users browsing this thread: 1 Guest(s)