[Include] FUINC - Fikiґs Usefull Include
#1

Hello, people!

So, here it is! My very first include! Hope you like it! It has 35 very usefull functions! In newever versions, more functions will be added and exsiting one expanded!

__________________________________________________ _______________________________________________

NATIVES AND FUNCTIONS:
Code:
NATIVE: GivePlayerScore(playerid,ammount);
FUNCTION: Will give certain ammount of score to player!
_____________________________________________________________________
NATIVE: ResetPlayer(playerid);
FUNCTION: Resets player money, weapons and score!
_____________________________________________________________________
NATIVE: GiveInfAmmoForWeap(playerid,weapon);
FUNCTION: Give weapon with infite ammo to player!
_____________________________________________________________________
NATIVE: CreateInfoDialog(playerid, dialogid, text[], info[]);
FUNCTION: Creates DIALOG_STYLE_MSGBOX with "OK" button!
_____________________________________________________________________
NATIVE: ExplodePlayer(playerid);
FUNCTION: Creates explosion type 1 on player position!
_____________________________________________________________________
NATIVE: SlapPlayer(playerid);
FUNCTION: Slaps player, in other words, raise his/her Z pos for +15!
_____________________________________________________________________
NATIVE: Freeze(playerid);
FUNCTION: Freeze player!
_____________________________________________________________________
NATIVE: Unfreeze(playerid);
FUNCTION: Unfreeze player!
_____________________________________________________________________
NATIVE: MaxWeapSkills(playerid);
FUNCTION: Sets player weapon skills to 1000!
_____________________________________________________________________
NATIVE; MinWeapSkills(playerid);
FUNCTION: Sets player weapon skills to 0!
_____________________________________________________________________
NATIVE: CreateRaceCheckpoint(playerid,Float:X,Float:Y,Float:Z);
FUNCTION: Creates race checkpoint on X,Y and Z coords!
_____________________________________________________________________
NATIVE: CreateEndRaceCheckpoint(playerid,Float:X,Float:Y,Float:Z);
FUNCTION: Creates ending checkpoint for race!
_____________________________________________________________________ 
NATIVE: NpcRecOnFoot(playerid);
FUNCTION: Records player on foot!
_____________________________________________________________________
NATIVE: NpcRecInVeh(playerid);
FUNCTION: Records player in vehicle!
_____________________________________________________________________
NATIVE: StopRec(playerid);
FUNCTION: Stops on foot/in vehicle recording!
_____________________________________________________________________
NATIVE: AddNitro(playerid);
FUNCTION: Add nitro to vehicle!
_____________________________________________________________________
NATIVE: StartEngine(playerid);
FUNCTION: Start engine!
_____________________________________________________________________
NATIVE: StopEngine(playerid);
FUNCTION: Stop engine!
_____________________________________________________________________
NATIVE: OpenBoot(playerid);
FUNCTION: Open boot!
_____________________________________________________________________
NATIVE: CloseBoot(playerid);
FUNCTION: Close boot!
_____________________________________________________________________
NATIVE: OpenBonnet(playerid);
FUNCTION: Open bonnet!
_____________________________________________________________________
NATIVE: CloseBonnet(playerid);
FUNCTION: Close bonnet!
_____________________________________________________________________
NATIVE: AlarmOn(playerid);
FUNCTION: Turn on alarm!
_____________________________________________________________________
NATIVE: AlarmOff(playerid);
FUNCTION: Turn off alarm!
_____________________________________________________________________
NATIVE: LightsOn(playerid);
FUNCTION: Turn on lights!
_____________________________________________________________________
NATIVE: LightsOff(playerid);
FUNCTION: Turn off lights!
_____________________________________________________________________
NATIVE: Suicide(playerid);
FUNCTION: Kill player!
_____________________________________________________________________
NATIVE: GiveJetpack(playerid);
FUNCTIONS: Give jetpack to player!
_____________________________________________________________________
NATIVE: CreateDefaultMapIcons(playerid);
FUNCTION: Create over 30 default map icons round SA!
_____________________________________________________________________
NATIVE: AwayFromKeyboard(playerid);
FUNCTION: Go AFK!
_____________________________________________________________________
NATIVE: BackToKeyboard(playerid);
FUNCTION: Go back to game!
_____________________________________________________________________
VERSION 1.1 NATIVES:
Code:
_____________________________________________________________________
NATIVE: GetPlayerPosEx(playerid);
FUNCTION: Get player position wand directly send message with players position! 
(no need to use format ever again)
_____________________________________________________________________
NATIVE: GetPlayerNameEx(playerid);
FUNCTION: Get player name and directly send message with player name! 
(no need to use format ever again)
_____________________________________________________________________
NATIVE: KickEx(playerid,reason[]);
FUNCTION: Kick player with specific reason!
_____________________________________________________________________
NATIVE: SetPlayerRandomColor(playerid);
FUNCTION: Set random color for players name!
_____________________________________________________________________
__________________________________________________ _______________________________________________

DOWNLOAD:
Mediafire (v1.0)
Mediafire (v1.1)

__________________________________________________ _______________________________________________

INSTALLATION:
1. Download file from Mediafire!
2. Extract anywhere!
3. Copy "fuinc.inc" file to your "pawno -> include" folder!
4. Add #include <fuinc> to your filterscript/gamemode!
5. Enjoy! :P

__________________________________________________ _______________________________________________

BUG REPORTS:
Report any bugs!

__________________________________________________ _______________________________________________
Reply
#2

No comments?? :O

Anyway, new version available!

REDOWNLOAD!
Reply
#3

good job but if u want it to be better you can add more functions cause these functions are easy to make (however GOOD JOB AGAIN)
Reply
#4

Quote:
Originally Posted by Mr.Fames
View Post
good job but if u want it to be better you can add more functions cause these functions are easy to make (however GOOD JOB AGAIN)
Yeah tnx! As said before, its my 1st include so i was just "testing my skills"! :P
Reply
#5

Good job
Reply
#6

Hey man i found a bug!!
In the code of stock Freeze and Unfreeze both of them do
pawn Code:
TogglePlayerControllable(playerid,0)
So even after we use unfreeze he will be freezed lol
Reply
#7

Quote:
Originally Posted by §с†¶e®РµРe
View Post
Hey man i found a bug!!
In the code of stock Freeze and Unfreeze both of them do
pawn Code:
TogglePlayerControllable(playerid,0)
So even after we use unfreeze he will be freezed lol
Thanks for report! Will be fixed!
Reply
#8

No Problem!
Add me in credits :P
Reply
#9

Gj fiki, btw you have to make a function, out of functions that isnt included in pawno. Dunno how to explain it, but yeah..

Quote:
Originally Posted by §с†¶e®РµРe
View Post
Add me in credits :P
Stop asking for being in the credits. He know that he should put you into them. (:
Reply
#10

Quote:
Originally Posted by cruteX
View Post
Gj fiki, btw you have to make a function, out of functions that isnt included in pawno. Dunno how to explain it, but yeah..



Stop asking for being in the credits. He know that he should put you into them. (:
Know what ya mean! So, you mean -> I should make function that doesnt exist in pawno and/or in any include!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)