SetVehicleParamsForPlayerEx hight size
#1

Hi,

I utilise that on my gamemode with /lock and /unlock

new iVehicleObjective[MAX_PLAYERS][MAX_VEHICLES][2];
public OnVehicleStreamIn(vehicleid,forplayerid)
{
SetVehicleParamsForPlayer(vehicleid,forplayerid,iV ehicleObjective[forplayerid][vehicleid [0],iVehicleObjective[forplayerid][vehicleid][1]);
return 1;
}
stock SetVehicleParamsForPlayerEx(vehicleid, playerid, objective, doorslocked)
{
SetVehicleParamsForPlayer(vehicleid, playerid, objective, doorslocked);
iVehicleObjective[playerid][vehicleid][0] = objective;
iVehicleObjective[playerid][vehicleid][1] = doorslocked;
return 1;
}

Work, but my file size .pawn is 2500ko and .amx 10000 ko, if i remove VehicleObjective my amx size is 4500k. It's normally? Why? and there are not other solution?

Thanks
Reply


Messages In This Thread
SetVehicleParamsForPlayerEx hight size - by nico005 - 14.07.2010, 11:05
Re: SetVehicleParamsForPlayerEx hight size - by Grim_ - 14.07.2010, 11:07
Re: SetVehicleParamsForPlayerEx hight size - by nico005 - 14.07.2010, 11:24
Re: SetVehicleParamsForPlayerEx hight size - by Simon - 14.07.2010, 11:50

Forum Jump:


Users browsing this thread: 1 Guest(s)