23.12.2011, 19:34
(
Last edited by fiki574; 24/12/2011 at 02:02 PM.
Reason: NEW VERSION!
)
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:
VERSION 1.1 NATIVES:
__________________________________________________ _______________________________________________
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!
__________________________________________________ _______________________________________________
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! _____________________________________________________________________
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!
__________________________________________________ _______________________________________________