[Include] OutSkins - Simple skin detection
#1

OutSkins
An easy way to skin detection.

Introduction
I decided to create a small include as I just started with scripting (scripting 2 days now)
It detects several skins, which can be used in an if or a switch (or any other detection)

What does OutSkins do?
OutSkins has several ways to detect skins, all pretty easy to create but can be usefull.

List of functions:
FunctionAction
IsLawEnforcerSkin(playerid)Detects if the player has a police officer skin.
IsGroveSkin(playerid)Detects if the player has a Grove Street skin.
IsBallasSkin(playerid)Detects if the player has a Kilo Tray Ballas skin.
IsVagosSkin(playerid)Detects if the player has a Vagos Gang skin.
IsAztecasSkin(playerid)Detects if the player has a Varrio Aztecas skin.
IsBouncerSkin(playerid)Detects if the player has a bouncer skin.
Added in 2.0:
IsPlayerMedic(playerid)Detects if the player has a medic skin.
IsPlayerFireFighter(playerid)Detects if the player has a firefighter skin.
IsPlayerFemale(playerid)Detects if the player has a female skin.
IsPlayerMale(playerid)Detects if the player has a male skin.
Added in 2.1:
Bug fix:swithc except switch at IsPlayerMale
Bug fix:Double case at IsBouncerSkin (164,164,165,166)
Downloads
Download PlaceDownload Link
Pastebin (1.0)http://pastebin.com/fBiyF66Z
Pastebin (2.0)http://pastebin.com/JV9p9iwk
Pastebin (2.1)http://pastebin.com/bb9yWYzy
Stats
Our speed comparing to xSkins is faster, although it has less abilities. Future updates will have the same abilities and it will be faster.
Reply
#2

nice1 its faster than mine!
Reply
#3

Quote:
Originally Posted by Yashas
Посмотреть сообщение
nice1 its faster than mine!
It is . At the moment I am working on an update detecting more skins, which will be released in 1/2 hours.
Reply
#4

Updated with 2.0, 4 new functions added.
Reply
#5

I noticed there are some errors when using the script (IsPlayerMale and IsPlayerFemale are very bugged), I will release a quick patch in 10/15 minutes.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)