if and else if
#3

return 1; means stop running the code in that function
https://sampwiki.blast.hk/wiki/Control_Structures#return

this site has some good info
https://sampwiki.blast.hk/wiki/Control_Structures#else_if
Reply


Messages In This Thread
if and else if - by zerowhz - 01.12.2013, 20:27
Re: if and else if - by Konstantinos - 01.12.2013, 20:35
Re: if and else if - by whatthefuck123 - 01.12.2013, 23:46

Forum Jump:


Users browsing this thread: 1 Guest(s)