[Include] dth_skinscat.inc
#1

dth_skinscat.inc v0.3
30 functions and 35 macros.
Код:
=== FUNCTIONS ===

native IsValidSkin(const skinid);

native IsSkinWhite(const skinid);
native IsSkinBlack(const skinid);
native IsSkinHispanic(const skinid);
native IsSkinChinese(const skinid);

native IsSkinMale(const skinid);
native IsSkinFemale(const skinid);

native IsSkinBeach(const skinid);
native IsSkinAgriculture(const skinid);
native IsSkinWhore(const skinid);
native IsSkinSportive(const skinid);
native IsSkinConstruction(const skinid);

native IsSkinGrove(const skinid);
native IsSkinBallas(const skinid);
native IsSkinAztecas(const skinid);
native IsSkinVagos(const skinid);
native IsSkinDaNang(const skinid);
native IsSkinRifa(const skinid);
native IsSkinBiker(const skinid);

native IsSkinGang(const skinid);

native IsSkinTriad(const skinid);
native IsSkinRussianMafia(const skinid);
native IsSkinItalianMafia(const skinid);

native IsSkinMafia(const skinid);

native IsSkinSecurity(const skinid);
native IsSkinSheriff(const skinid);
native IsSkinPolice(const skinid);
native IsSkinSWAT(const skinid);
native IsSkinFBI(const skinid);
native IsSkinArmy(const skinid);
native IsSkinFireFighter(const skinid);
native IsSkinParamedic(const skinid);

native IsSkinPublicService(const skinid);

=== MACROS ===

dth_skin_WHITE - Using in -> switch YES, array YES with the Zeex's PAWN Compiler otherwise NO.
dth_skin_BLACK - Using in -> switch YES, array YES.
dth_skin_HISPANIC - Using in -> switch YES, array YES.
dth_skin_CHINESE - Using in -> switch YES, array YES.

dth_skin_MALE - Using in -> switch YES, array YES with the Zeex's PAWN Compiler otherwise NO.
dth_skin_FEMALE - Using in -> switch YES, array YES.

dth_skin_BEACH - Using in -> switch YES, array YES.
dth_skin_AGRICULTURE - Using in -> switch YES, array YES.
dth_skin_WHORE - Using in -> switch YES, array YES.
dth_skin_SPORTIVE - Using in -> switch YES, array YES.
dth_skin_CONSTRUCTION - Using in -> switch YES, array YES.

dth_skin_GROVE - Using in -> switch YES, array YES.
dth_skin_BALLAS - Using in -> switch YES, array YES.
dth_skin_AZTECAS - Using in -> switch YES, array YES.
dth_skin_VAGOS - Using in -> switch YES, array YES.
dth_skin_DANANG - Using in -> switch YES, array YES.
dth_skin_RIFA - Using in -> switch YES, array YES.
dth_skin_BIKER - Using in -> switch YES, array YES.

dth_skin_GANG - Using in -> switch YES, array YES.

dth_skin_TRIAD - Using in -> switch YES, array YES.
dth_skin_RUSSIANMAFIA - Using in -> switch YES, array YES.
dth_skin_ITALIANMAFIA - Using in -> switch YES, array YES.

dth_skin_MAFIA - Using in -> switch YES, array YES.

dth_skin_SECURITY - Using in -> switch YES, array YES.
dth_skin_SHERIFF - Using in -> switch YES, array YES.
dth_skin_POLICE - Using in -> switch YES, array YES.
dth_skin_SWAT - Using in -> switch YES, array YES.
dth_skin_FBI - Using in -> switch YES, array YES.
dth_skin_ARMY - Using in -> switch YES, array YES.
dth_skin_FIREFIGHTER - Using in -> switch YES, array YES.
dth_skin_PARAMEDIC - Using in -> switch YES, array YES.

dth_skin_PUBLICSERVICE - Using in -> switch YES, array YES.
GitHub : https://github.com/C-far/CLI/blob/ma...c_skinscat.inc
Reply
#2

Could be useful for some people, nice release.
Reply
#3

Quote:
Originally Posted by JustMe.77
Посмотреть сообщение
Could be useful for some people, nice release.
Thanks.
Reply
#4

Useful for RP and gang releated servers; Keep going
Reply
#5

Can i know something more about this Release? I couldn't find; in which circumstances this include could be use? Thanks
Reply
#6

Quote:
Originally Posted by SpikY_
Посмотреть сообщение
Can i know something more about this Release? I couldn't find; in which circumstances this include could be use? Thanks
i think this include can be verry usefull to Gangs War / Dm / RP servers, i give u an ex :

1. You wan't to make a system for class selection, player need to select his team to choice a skin.
Player will choose team 'Groove'.
now you don't need to make the skins 1 by 1 in the dialog, you can loop all the skins and check the groove ones, and i find that verry usefull.

2. In a RP server players aren't able to choice Cops skins so for example so if you have a eSelection system you will check if player select a Cop skin and send him a message "You are not able to select this skin."

This is just small examples, anyway good job Dutheil !

EDIT:

ex 3: if you have a type system and player will choice a white gender you can loop all skins and choice the type ones.
Reply
#7

Nice!
Reply
#8

Simple and useful, great job again Dutheil.

Un bien include c:, eh j'ai oubliй ma Francais
Reply
#9

Thanks @AlexBlack.
Hmm this is Really a usefull include. Thanks Dutheil.
Reply
#10

Thanks everybody for your opinion(s) !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)