02.08.2014, 07:44
Great job ! I hope it will be merged with the original streamer plugin, if everything is ok. Thanks for your work !
I have a have few suggestions:
should be
Also, you forgot one thing, you should add it in the plugin:
https://sampwiki.blast.hk/wiki/OnPlayerWeaponShot
And these (are even possible some of them ?):
Also, I know that these are perfectly scriptable, but they are needed as default:
I hope that the next SA:MP version will bring us a SetVehicleRotationQuat, because I think you can't make it.
I have a have few suggestions:
pawn Код:
native GetDynamicVehicleZAngle(vehicleid, &Float:x, &Float:y, &Float:z);
native SetDynamicVehicleZAngle(vehicleid, Float:x, Float:y, Float:z);
native GetDynamicVehicleZAngle(vehicleid, &Float:angle);
native SetDynamicVehicleZAngle(vehicleid, Float:angle);
pawn Код:
native GetDynamicVehiclePos(vehicleid, &Float:w, &Float:x, &Float:y, &Float:z);
native SetDynamicVehiclePos(vehicleid, Float:x, Float:y, Float:z);
native GetDynamicVehicleZAngle(vehicleid, &Float:angle);
native SetDynamicVehicleZAngle(vehicleid, Float:angle);
https://sampwiki.blast.hk/wiki/OnPlayerWeaponShot
pawn Код:
forward OnPlayerShotDynamicVehicle(playerid, vehicleid, weaponid, Float:fX, Float:fY, Float:fZ);
pawn Код:
native SetDynamicVehicleAngularVelocity(vehicleid, Float:X, Float:Y, Float:Z);
native AttachTrailerToDynamicVehicle(trailerid, vehicleid );
native AttachDynamicTrailerToVehicle(trailerid, vehicleid );
native AttachDynamicTrailerToDynamicVehicle(trailerid, vehicleid );
native DetachTrailerFromDynamicVehicle(vehicleid);
native IsTrailerAttachedToDynamicVehicle(vehicleid);
native GetDynamicVehicleTrailer(vehicleid); // but normal vehicles are also possible to be attached to streamed vehicles, it's a bit complicated there
native GetDynamicVehicleRotationQuat(vehicleid, &Float:w, &Float:x, &Float:y, &Float:z);
pawn Код:
native SetDynamicVehicleVirtualWorld(vehicleid, worldid);
native GetDynamicVehicleVirtualWorld(vehicleid);
native SetDynamicVehicleInterior(vehicleid, interiorid);
native GetDynamicVehicleInterior(vehicleid);
native GetDynamicVehicleFirstColor(vehicleid); // returns color1
native GetDynamicVehicleSecondColor(vehicleid); // returns color2
native IsDynamicVehicleStreamedIn(vehicleid); // returns 1 if it is streamed for a player