18.03.2011, 16:14
Use a switch statement, its very simple (scroll down to case, and it has EXACTLY what your looking for).
https://sampwiki.blast.hk/wiki/Control_Structures#switch_2
If you need further assistance, feel free to PM me and i'll help you more in-depth.
https://sampwiki.blast.hk/wiki/Control_Structures#switch_2
If you need further assistance, feel free to PM me and i'll help you more in-depth.