|
Author
|
Message
|
|
Veteran Member
Join Date: Jul 2006
Location: France (95)
|

05-13-2013
, 01:10
Re: Last Choosen Weapon Menu
|
#1
|
First, don't use client_cmd in PlayerSpawn, this show your little skill ;)
Directly call MyMenu(id), is better, also, check that player is alive in spawn event, else you gonna have error logs.
Same in menu handler, use client_print, not client_cmd, GOD !!
So, in menu handler, use player choice to store in a variable (has to be an array)
In menu creation, if player variable is filled, add to 2 options at the end of the menu.
In menu handler, if player chooses last or last and don't ask, use the stored choice variable to give items.
And if choice is last and don't ask, store it in another global variable
So in PlayerSpawn, if that other global variable is set, give directly items instead of showing menu.
If you can't do this because it is too difficult, then post a request in the appropriated forum.
__________________
|
|
|
|