25.08.2014, 08:46
I using CreateDynamic3DTextLabel and attachto vehicle. But z position not changed. How can i change attached 3dtext z position?
Says the guy with a DayZ server where I see no vehicle. The things aren't out of hand, we need just a bigger limit. Actually roleplay and Fun servers need a lot of vehicles, especially if they want - for example - the house vehicles to be spawned everytime, or adding vehicles at every teleport. We need the limit bigger than 2000, a streamer would be perfect. If you don't see an use for it, just think that others will, I bet that if you will give a suggestion which you will need, I would eventually see it unuseful, but you will need it, when I don't. If you don't see anything good in it, just shut up, some others will need that thing.
|
Says the guy with a DayZ server where I see no vehicle. The things aren't out of hand, we need just a bigger limit. Actually roleplay and Fun servers need a lot of vehicles, especially if they want - for example - the house vehicles to be spawned everytime, or adding vehicles at every teleport. We need the limit bigger than 2000, a streamer would be perfect. If you don't see an use for it, just think that others will, I bet that if you will give a suggestion which you will need, I would eventually see it unuseful, but you will need it, when I don't. If you don't see anything good in it, just shut up, some others will need that thing.
|
Or you could code efficiently with a maximum of 2000 vehicles in mind just unspawn owned vehicles if the vehicle limit is above X. There's a server i used to play on that does this well enough. Someone logs in with a load of cars, and there's a certain amount of owned vehicles spawned. It'll despawn the ones not in use, or the ones with the owners offline.
|
Yeah but the thing is, there are people that want to keep RP as realistic as possible. And by that I mean to completely remove the de spawn of cars and leave the vehicles spawned in the server 24/7 as then ppl would be able to RPly rob your car or crash it or whatever if you don't secure it properly.
|
forward OnDynamicVehicleSpawn(vehicleid);
forward OnPlayerEnterDynamicVehicle(playerid, vehicleid, ispassenger);
forward OnPlayerExitDynamicVehicle(playerid, vehicleid);
forward OnDynamicVehicleMod(playerid, vehicleid, componentid);
forward OnDynamicVehiclePaintjob(playerid, vehicleid, paintjobid);
forward OnDynamicVehicleRespray(playerid, vehicleid, color1, color2);
forward OnDynamicVehDamageStatusUpdate(vehicleid, playerid);
forward OnUnoccupiedDynamicVehUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z); // Yet not updated to 0.3z R4
forward OnDynamicVehicleStreamIn(vehicleid, forplayerid);
forward OnDynamicVehicleStreamOut(vehicleid, forplayerid);
native CreateDynamicVehicle(modelid, Float:fX, Float:fY, Float:fZ, Float:fRot, color1, color2, respawndelay, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 300.0);
native DestroyDynaimcVehicle(vehicleid);
native IsValidDynamicVehicle(vehicleid);
native IsDynamicVehicleStreamedIn(vehicleid, forplayerid);
native GetDynamicVehiclePos(vehicleid, &Float:x, &Float:y, &Float:z);
native SetDynamicVehiclePos(vehicleid, Float:x, Float:y, Float:z);
native GetDynamicVehicleZAngle(vehicleid, &Float:z_angle);
native GetDynamicVehicleRotationQuat(vehicleid, &Float:w, &Float:x, &Float:y, &Float:z);
native SetDynamicVehicleZAngle(vehicleid, Float:z_angle);
native SetDynamicVehParamsForPlayer(vehicleid,playerid,objective,doorslocked);
native SetDynamicVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
native GetDynamicVehicleParamsEx(vehicleid, &engine, &lights, &alarm, &doors, &bonnet, &boot, &objective);
native SetDynamicVehicleToRespawn(vehicleid);
native LinkDynamicVehicleToInterior(vehicleid, interiorid);
native AddDynamicVehicleComponent(vehicleid, componentid);
native RemoveVDynamicehicleComponent(vehicleid, componentid);
native ChangeDynamicVehicleColor(vehicleid, color1, color2);
native ChangeDynamicVehiclePaintjob(vehicleid, paintjobid);
native SetDynamicVehicleHealth(vehicleid, Float:health);
native GetDynamicVehicleHealth(vehicleid, &Float:health);
native GetDynamicVehicleModel(vehicleid);
native RepairDynamicVehicle(vehicleid); // Repairs the damage model and resets the health
native GetDynamicVehicleVelocity(vehicleid, &Float:X, &Float:Y, &Float:Z);
native SetDynamicVehicleVelocity(vehicleid, Float:X, Float:Y, Float:Z);
native SetDynamicVehAngularVelocity(vehicleid, Float:X, Float:Y, Float:Z);
native GetDynamicVehicleDamageStatus(vehicleid, &panels, &doors, &lights, &tires);
native UpdateDynamicVehDamageStatus(vehicleid, panels, doors, lights, tires);
native GetPlayerDynamicVehicleID(playerid);
cell AMX_NATIVE_CALL DestroyDynamic3DTextLabel(AMX *amx, cell *params);