[Plugin] Jelly's YSF Fork
#1

• Jelly's YSF Fork
A YSF fork with some functions I had in mind. You can use it with YSF with no issues.

This plugin was originally posted in Portuguese board. Kurta asked me if I could post it here, so I did.
• Functions:

Attached Objects:
PHP Code:
native SetPlayerAttachedObjForPlayer(playeridtoplayerindexmodelidboneFloat:fOffsetX 0.0Float:fOffsetY 0.0Float:fOffsetZ 0.0Float:fRotX 0.0Float:fRotY 0.0Float:fRotZ 0.0Float:fScaleX 1.0Float:fScaleY 1.0Float:fScaleZ 1.0materialcolor1 0materialcolor2 0);
native RemovePlayerAttObjForPlayer(playeridtoplayerindex); 
Actors:
PHP Code:
native ShowActorForPlayer(playeridactorid);
native HideActorForPlayer(playeridactorid);
native SetActorSkin(actoridskinid);
native SetActorSkinForPlayer(playeridactoridskinid); 
native SetActorPosForPlayer(playeridactoridFloat:XFloat:YFloat:Z);
native SetActorSpawnPos(actoridFloat:XFloat:YFloat:Z);
native SetActorSpawnRot(actoridFloat:rot);
native SetActorHealthForPlayer(playeridactoridFloat:actor_health);
native ClearActorAnimationForPlayer(playeridactorid);
native ApplyActorAnimationForPlayer(playeridactoridanimlib[], animname[], Float:fDeltalooplockxlockyfreezetime);
native SetActorFacingAngleForPlayer(playeridactoridFloat: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(playeridvehicleidFloat:xFloat:yFloat:z);
native SetFakeVehiclePosOnPlayer(playeridFloat:xFloat:yFloat:z);
native DisableFakeVehiclePosOnPlayer(playerid);
native ShowVehicleForPlayer(playeridvehicleid);
native HideVehicleForPlayer(playeridvehicleid);
native SetVehiclePosForPlayer(playeridvehicleidFloat:xFloat:yFloat:z); 
Menus:
PHP Code:
native GetTotalMenus();
native SetMenuItem(Menu:menuidcolumnitemiditemname[]);
native SetMenuPosition(Menu:menuidFloat:xFloat:y);
native SetMenuWidth(Menu:menuidFloat:col1widthFloat:col2width);
native SetMenuTitle(Menu:menuidtitle[]); 
Velocity:
PHP Code:
native EnableFakePlayerVelocity(playeridFloat:xFloat:yFloat:z);
native DisableFakePlayerVelocity(playerid); 
Weapons:
PHP Code:
native GetFakeWeapon(playerid);
native GetBulletType(playerid);
native SetFakeWeapon(playeridweaponid); //use -1 as weaponid to disable
native SetBulletType(playeridweaponid); //Use 0 as weaponid to disable 
Other(s):
PHP Code:
native CreateExplosionEx(Float:XFloat:YFloat:ZtypeFloat:radiusinteriorvirtual_world);
native ForceSpecialActionSync(playeridactionid); //use -1 as actionid to disable 
• Credits:
Y_Less,
kurta999,
sprtik,
OrMisicL,
0x688,
Riddick94,
Whitetiger,
iFarbod,
P3ti,
Mellnik,
Zeex,
Incognito,
balika011,
Gamer_Z,
Slice,
poxer.
• Download:
Github
Reply


Messages In This Thread
Jelly's YSF Fork - by Jelly23 - 09.10.2017, 21:44
Re: Jelly's YSF Fork - by Crystallize - 10.10.2017, 00:42
Re: Jelly's YSF Fork - by Kaperstone - 10.10.2017, 04:53
Re: Jelly's YSF Fork - by youthinkyoufunny - 10.10.2017, 04:56
Re: Jelly's YSF Fork - by Jelly23 - 10.10.2017, 11:08
Re: Jelly's YSF Fork - by Kaperstone - 10.10.2017, 13:19
Re: Jelly's YSF Fork - by Jelly23 - 10.10.2017, 22:20
Re: Jelly's YSF Fork - by DimaShift - 11.10.2017, 16:53
Re: Jelly's YSF Fork - by Jelly23 - 11.10.2017, 16:57
Re: Jelly's YSF Fork - by NathanT - 14.10.2017, 00:22
Re: Jelly's YSF Fork - by Jelly23 - 14.10.2017, 02:10
Re: Jelly's YSF Fork - by Debjit - 29.10.2017, 05:11
Re: Jelly's YSF Fork - by Jelly23 - 29.10.2017, 05:15
Re: Jelly's YSF Fork - by Widoh - 15.11.2017, 14:11

Forum Jump:


Users browsing this thread: 1 Guest(s)