SA-MP Forums Archive
Numbers going up, read please - 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: Numbers going up, read please (/showthread.php?tid=390938)



Numbers going up, read please - mSlat3r - 08.11.2012

This is kinda confusing but

'new iFac;'
Basically how can I make the 'iFac' go up to a certain number, so when I click something in a dialog, so if I click the 3rd item in the dialog, the iFac value would be 3 automatically, so the higher the number the higher the iFac numbers goes

Sorry if your confused, I'll try and explain it in further detail if needed


Re: Numbers going up, read please - Emmet_ - 08.11.2012

pawn Код:
iFac = listitem + 1;



Re: Numbers going up, read please - tyler12 - 08.11.2012

Fatal Error: I got confused --


Re: Numbers going up, read please - mSlat3r - 08.11.2012

Quote:
Originally Posted by Emmet_
Посмотреть сообщение
pawn Код:
iFac = listitem + 1;
Perfect, thank you