09.10.2017, 21:44
• Jelly's YSF Fork
A YSF fork with some functions I had in mind. You can use it with YSF with no issues.• Functions:
This plugin was originally posted in Portuguese board. Kurta asked me if I could post it here, so I did.
Attached Objects:
PHP Code:
native SetPlayerAttachedObjForPlayer(playerid, toplayer, index, modelid, bone, Float:fOffsetX = 0.0, Float:fOffsetY = 0.0, Float:fOffsetZ = 0.0, Float:fRotX = 0.0, Float:fRotY = 0.0, Float:fRotZ = 0.0, Float:fScaleX = 1.0, Float:fScaleY = 1.0, Float:fScaleZ = 1.0, materialcolor1 = 0, materialcolor2 = 0);
native RemovePlayerAttObjForPlayer(playerid, toplayer, index);
Actors:
PHP Code:
native ShowActorForPlayer(playerid, actorid);
native HideActorForPlayer(playerid, actorid);
native SetActorSkin(actorid, skinid);
native SetActorSkinForPlayer(playerid, actorid, skinid);
native SetActorPosForPlayer(playerid, actorid, Float:X, Float:Y, Float:Z);
native SetActorSpawnPos(actorid, Float:X, Float:Y, Float:Z);
native SetActorSpawnRot(actorid, Float:rot);
native SetActorHealthForPlayer(playerid, actorid, Float:actor_health);
native ClearActorAnimationForPlayer(playerid, actorid);
native ApplyActorAnimationForPlayer(playerid, actorid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time);
native SetActorFacingAngleForPlayer(playerid, actorid, Float:angle);
Drive-By:
PHP Code:
native DisableDrivebySyncForPlayer(playerid);
native EnableDrivebySyncForPlayer(playerid);
Vehicles:
PHP Code:
native GetPlayerSurfingVehicleOffsets(playerid, &Float:x, &Float:y, &Float:z);
native SetPlayerSurfingVehicleOffsets(playerid, vehicleid, Float:x, Float:y, Float:z);
native SetFakeVehiclePosOnPlayer(playerid, Float:x, Float:y, Float:z);
native DisableFakeVehiclePosOnPlayer(playerid);
native ShowVehicleForPlayer(playerid, vehicleid);
native HideVehicleForPlayer(playerid, vehicleid);
native SetVehiclePosForPlayer(playerid, vehicleid, Float:x, Float:y, Float:z);
Menus:
PHP Code:
native GetTotalMenus();
native SetMenuItem(Menu:menuid, column, itemid, itemname[]);
native SetMenuPosition(Menu:menuid, Float:x, Float:y);
native SetMenuWidth(Menu:menuid, Float:col1width, Float:col2width);
native SetMenuTitle(Menu:menuid, title[]);
Velocity:
PHP Code:
native EnableFakePlayerVelocity(playerid, Float:x, Float:y, Float:z);
native DisableFakePlayerVelocity(playerid);
Weapons:
PHP Code:
native GetFakeWeapon(playerid);
native GetBulletType(playerid);
native SetFakeWeapon(playerid, weaponid); //use -1 as weaponid to disable
native SetBulletType(playerid, weaponid); //Use 0 as weaponid to disable
Other(s):
• Credits:PHP Code:
native CreateExplosionEx(Float:X, Float:Y, Float:Z, type, Float:radius, interior, virtual_world);
native ForceSpecialActionSync(playerid, actionid); //use -1 as actionid to disable
Y_Less,• Download:
kurta999,
sprtik,
OrMisicL,
0x688,
Riddick94,
Whitetiger,
iFarbod,
P3ti,
Mellnik,
Zeex,
Incognito,
balika011,
Gamer_Z,
Slice,
poxer.
Github