03.01.2011, 16:48
Here they are. What should i do with them?
And
Код:
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;
}
Код:
public SetVehicleParamsForAll(carid,objective,doorslocked)
{
new i;
for(i=0; i<MAX_PLAYERS; i++) { SetVehicleParamsForPlayer(carid,i,objective,doorslocked); }
}
