[Include] [INC]Mikefunc - 75+ Functions!
#1

..::Mike_func::..
This is my FIRST include!

Functions:

• IsPlayerInInvalidNosVehicle(playerid)
• IsPlayerInCar(playerid)
• IsVehicleCar(vehicleid)
• GetVehicleName(vehicleid) //Returns JUST the name, eg: "Hunter"
• GetVehicleSentence(playerid) //This will return for example: "on an NRG-500" or "in a Dodo"
• RandomColors(vehicleid)
• IsPlayerInBoat(playerid)
• IsVehicleBoat(vehicleid)
• IsPlayerOnBike(playerid)
• IsVehicleBike(vehicleid)
• IsPlayerOnMotorbike(playerid)
• IsVehicleMotorbike(vehicleid)
• IsPlayerOnPedalBike(playerid)
• IsVehiclePedalBike(vehicleid)
• IsPlayerInRC(playerid)
• IsVehicleRC(vehicleid)
• IsPlayerInAirVehicle(playerid)
• IsVehicleAirVehicle(vehicleid)
• IsPlayerInPlane(playerid)
• IsVehiclePlane(vehicleid)
• IsPlayerInHeli(playerid)
• IsVehicleHeli(vehicleid)
• IsPlayerInJet(playerid)
• IsVehicleJet(vehicleid)
• IsPlayerInProp(playerid)
• IsVehicleProp(vehicleid)
• IsPlayerInSporty(playerid)
• IsVehicleSporty(vehicleid)
• IsPlayerInEmergency(playerid)
• IsVehicleEmergency(vehicleid)
• IsPlayerInWarVehicle(playerid)
• IsVehicleWarVehicle(vehicleid)
• IsPlayerInCopVehicle(playerid)
• IsVehicleCopVehicle(vehicleid)
• IsPlayerInFiretruck(playerid)
• IsVehicleFiretruck(vehicleid)
• IsPlayerInFBI(playerid)
• IsVehicleFBI(vehicleid)
• IsPlayerInPublicTransport(playerid)
• IsVehiclePublicTransport(vehicleid)
• IsPlayerInLowrider(playerid)
• IsVehicleLowrider(vehicleid)
• IsPlayerInSlowCar(playerid)
• IsVehicleSlowCar(vehicleid)
• IsPlayerInOffRoadCar(playerid)
• IsVehicleOffRoadCar(vehicleid)
• IsPlayerInHeavyVehicle(playerid)
• IsVehicleHeavyVehicle(vehicleid)
• IsPlayerInVan(playerid)
• IsVehicleVan(vehicleid)
• SkinGirlfriend(playerid)
• SkinGang(playerid)
• SkinGrove(playerid)
• SkinBalla(playerid)
• SkinVarios(playerid)
• SkinVagos(playerid)
• SkinNang(playerid)
• SkinRifa(playerid)
• SkinTriad(playerid)
• SkinMafia(playerid)
• SkinBeach(playerid)
• SkinCop(playerid)
• SkinFBI(playerid)
• SkinSwat(playerid)
• SkinArmy(playerid)
• SkinOld(playerid)
• SkinStripper(playerid)
• SkinBiker(playerid)
• IsPlayerMale(playerid)
• IsPlayerFemale(playerid)
• IsVehicleLocoMod(vehicleid) - Can this car receive Loco Low co Modifications
• IsVehicleTransMod(vehicleid) - Can this car receive Transfender Modifications
• IsVehicleArchMod(vehicleid) - Can this car receive Wheel Arch Angel Modifications
• IsAnyPlayerInVehicle(vehicleid) - Is any player in THAT vehicle (useful for respawning empry cars)
• TakePlayerMoney(playerid,amount) - Removes the "amount" of cash, it seems GivePlayerMoney with minus doesnt work..
• ColorCorrect(playerid) - Sets the players default SA:MP color

Newest Functions:
• KillPlayer(playerid) - Kill a player
• KillAll() - Kill everyone
• CrashPlayer(playerid) - Crash a player
• SetAllHealth(health) - Set everyones health
• SetAllArmour(health) - Set everyones armour
• Vclear() - Destroy all vehicles

Download:

Version 5 Mirror 1 (deLUX click n host)
Version 5 Mirror 2 (Rapidshare)
Version 5 Mirror 3 (Pastebin)
Version 5 Mirror 4 (Canadian Pastebin)
Version 5 Mirror 5 (Sendspace)
Version 5 Mirror 6 (Mediafire)

Installation:

Add mikefunc.inc to your /pawno/include folder.
Add #include <mikefunc> to the top of the script your using the functions in.
Use the functions!

Information:
► This include took 2 days to make

PLEASE NOTE: This include has not been FULLY tested, please report any bugs, typos or ideas!

Thanks!
Reply
#2

Amazing job on the inc, but i suggest testing it before releasing it :P
Reply
#3

Good work, alot of interesting functions.
Reply
#4

I know i should test it but i havent got time. plus it should work fine.

P.S thanks ;d
Reply
#5

Nice Job.
The skin Functions will be pretty useful.

Edit: It would be a good idea if you did test it
Reply
#6

Quote:
Originally Posted by Miokie*
Nice Job.
The skin Functions will be pretty useful.

Edit: It would be a good idea if you did test it
Thanks
Reply
#7

some functions ive never seen before very nice
Reply
#8

Quote:
Originally Posted by whooper
some functions ive never seen before very nice
Thanks, i just rammed lots of randiom ones in lol, becasue i need the SkinCop(playerid) function for my LSPD gates im making soon, and LVPD gates, and SFPD gates version 3 lol
Reply
#9

Just what i need, THANKS
Reply
#10

****** if you care to read my post, this is my FIRST include and i suck at scripting, so no, it wont be perfect.

Not everyone is a scripting god like you ;d
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)