25.01.2014, 15:12
(
Последний раз редактировалось kooltuO; 26.01.2014 в 14:30.
)
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)An easy way to skin detection.
Introduction
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:
Function | Action |
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 Place | Download 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.