Vehicle Control
#3

Here they are. What should i do with them?

Код:
forward SetVehicleParamsForPlayerEx(vehicleid,playerid,objective,doorslocked);
public SetVehicleParamsForPlayerEx(vehicleid,playerid,objective,doorslocked)
{
	Vehiclez[vehicleid][playerid][o] = objective;
	Vehiclez[vehicleid][playerid][l] = doorslocked;
	if(IsVehicleStreamedIn(vehicleid, playerid))
	    return SetVehicleParamsForPlayer(vehicleid, playerid, objective, doorslocked);
	return 1;
}
And

Код:
public SetVehicleParamsForAll(carid,objective,doorslocked)
{
	new i;
	for(i=0; i<MAX_PLAYERS; i++) { SetVehicleParamsForPlayer(carid,i,objective,doorslocked); }
}
Reply


Messages In This Thread
Vehicle Control - by Osviux - 03.01.2011, 15:45
Re: Vehicle Control - by Doom8890 - 03.01.2011, 15:47
Re: Vehicle Control - by Osviux - 03.01.2011, 16:48

Forum Jump:


Users browsing this thread: 1 Guest(s)