SA-MP Forums Archive
[Include] [INC] AlexSamp_Include - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC] AlexSamp_Include (/showthread.php?tid=89888)



[INC] AlexSamp_Include - AlexSAMP - 04.08.2009

a_Include
By AlexSAMP

Script Comments

Here is my first include, a_Include ( a* means Alex ).There are 17 functions.You will see them on Script Features.

Script Type

- [INC] / Include

Script Features

17 functions:

native GetName(playerid); - Get The Player's Name
native Explode(playerid); - Explode The Player
native GiveHealth(playerid, Float:Health); - Give Player some health
native TakeHealth(playerid, Float:Health); - Remove Player some health
native ResetStas(playerid); - Reset The Stats
native Kill(playerid); - Kill the Player
native SendCash(playerid,targetid,ammount); - Send some cash
native SendToClass(playerid); - Force a player to go on the class selection
native BanPlayer(playerid,reason[]); - Ban a Player ( Text included)
native KickPlayer(playerid,reason[]); - Kick a Player ( Text included)
native CarKill(vehicleid); - Destroy a car
native CarLock(vehicleid); - Lock a car
native SetCarPosEx(vehicleid, Float: Xpos, Float:Ypos, Float:Zpos, Float:Apos); - Set a car's position
native CarNameShow(playerid); - Show the name of a car
native CarUnlock(vehicleid); - Unlock a car
native KickAll(); - Kick all players
native BanAll(); - Ban all players

Script Installation

Download the a_include.inc and place it on your includes folder.Add #include <a_include> under #include <a_samp>

Script Download

1. Attachment

2. http://www.mediafire.com/download.php?nyzonjwin5i

Script Bugs

No Bugs found.If you find one, PM me or reply.

Script Credits

Script made by AlexSAMP


Extra

AlexSAMP is available.

If you need a Map Scripter, PM me.




Re: [INC] AlexSamp_Include - ruarai - 05.08.2009

Nice but, BanAll? i dont want to be on a server with that in its code


Re: [INC] AlexSamp_Include - DarkClone - 05.08.2009

Nice job AlexSAMP


Re: [INC] AlexSamp_Include - AlexSAMP - 05.08.2009

You can remove the BanAll. Delete the Native BanAll(); and the Stock BanAll.......



Re: [INC] AlexSamp_Include - ruarai - 05.08.2009

I know but it was just that why would you want to ban all


Re: [INC] AlexSamp_Include - Ibanez - 05.08.2009

Quote:
Originally Posted by яυαяαι
I know but it was just that why would you want to ban all
For the lols, i guess...


Re: [INC] AlexSamp_Include - XPlatform - 05.08.2009

BanAll is for angry, rage-case admins!


Re: [INC] AlexSamp_Include - illay - 05.08.2009

Ban All?
pawn Code:
for(new i = 0; i < GetMaxPlayers(); i++) BanEx(i,"bye");



Re: [INC] AlexSamp_Include - Rizard - 28.08.2009

Check the stock KickAll();
You use a Ban there...

Cool release

Grts Riz