/Gender Script (Help) - 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: /Gender Script (Help) (
/showthread.php?tid=665786)
/Gender Script (Help) -
BsLOUAY - 16.04.2019
hey everyone
i need /gender script
for example when im playing on aurasia team (skin 73 )
when i type /gender my skin change to skin id 207
+Rep
Re: /Gender Script (Help) -
polygxn - 16.04.2019
pawn Code:
CMD:gender(playerid, params[]) {
new skin = GetPlayerSkin(playerid);
if(skin == 73)
SetPlayerSkin(playerid, 207); // Male -> Female
else if(skin == 207)
SetPlayerSkin(playerid, 73); // Female -> Male
return 1;
}
(Everyone can use the command, not only whos in the "aurasia" team. You need to implement that yourself.)
Re: /Gender Script (Help) -
BsLOUAY - 16.04.2019
thanks