Need Menu in spawn
2 replies



27.06.11 08:24:45 am
hi guys..
i need help
to make menu in the spawn
because every time I make sure lua error
pls help me
i started like this
the menu is
i need help
to make menu in the spawn
because every time I make sure lua error
pls help me
i started like this
Code:
1
2
2
addhook("spawn","csdm_spawnmenu")
function csdm_spawnmenu(id,title,button)
function csdm_spawnmenu(id,title,button)
the menu is
Code:
1
menu(id,"CSDM Primary Weapon - Page 1/2,AK,M4A1,AUG,SG552,GALIL,FAMAS,SCOUT")
LOL
The spawn hook's only parameter is id.
Code:
1
2
3
4
2
3
4
addhook("spawn","csdm_spawnmenu")
function csdm_spawnmenu(id)
menu(id,"CSDM Primary Weapon - Page 1/2,AK,M4A1,AUG,SG552,GALIL,FAMAS,SCOUT")
end
function csdm_spawnmenu(id)
menu(id,"CSDM Primary Weapon - Page 1/2,AK,M4A1,AUG,SG552,GALIL,FAMAS,SCOUT")
end
I code, therefore I exist. | Visit my blog for Lua tips and other interesting info



