PDA

View Full Version : Menu only for tr


mailkman
06-18-2010, 00:13
I have this menu, and I want only works to terrorists
new szMenuBody
new len = format(szMenuBody, 511, "\r[PFM] \wMenu^n")
len += format(szMenuBody[len], 511-len, "^n\r1. \wUpgrades")
len += format(szMenuBody[len], 511-len, "^n\r2 \yShop")
len += format(szMenuBody[len], 511-len, "^n\r3. \wItem List")
len += format(szMenuBody[len], 511-len, "^n\r4. \yHelp")
len += format(szMenuBody[len], 511-len, "^n^n^n\r8. \wSave Experience")
len += format(szMenuBody[len], 511-len, "^n\r0. \yCancel")
new keys = (1<<0|1<<1|1<<2|1<<3|1<<7|1<<8|1<<9)
show_menu(id, keys, szMenuBody, -1, "[PFM] Menu")
Can you help me? :)

fysiks
06-18-2010, 00:34
Check if they user's team is terrorist. If it is then build the menu. If not then don't do anything.