Dialog 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: Dialog Help (
/showthread.php?tid=427593)
Dialog Help -
venomlivno8 - 02.04.2013
I Maked a RP login/register sys and now i created a starting dialogs when player registers
It have "Terms of Service", "Password", "Gender" and "Age"
But i don't know how to check if player inputtext was male at gender...
So like this:
If player enters "Male" his gender will be 1 and if players enters "Female" his gender will be 2.
Re: Dialog Help -
[MG]Dimi - 02.04.2013
pawn Код:
if(!strcmp(inputtext,"Male")) Genger = 1;
else if(!strcmp(inpouttext,"Female")) Gender = 2;
Re: Dialog Help -
venomlivno8 - 02.04.2013
Tnq, lock!