[HELP] Saving someone's gender - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] Saving someone's gender (
/showthread.php?tid=306055)
[SOLVED] Saving someone's gender -
Fredden1993 - 24.12.2011
SOLVED - Brain mistake
Re: [HELP] Saving someone's gender -
coole210 - 24.12.2011
Because It checks for Skin ID 9 in the first if statement:
Код:
if(GetPlayerSkin(playerid) == 1 || GetPlayerSkin(playerid) == 2 || GetPlayerSkin(playerid) == 7 || GetPlayerSkin(playerid) == 9)
And you're returning 0 after the if statements