11.10.2012, 14:36
Suppos i type /weapons so there will be an menu we can say an dailog like
EXAMPLE> if you click on any one of them so the function will work as
and hide menu it will hide it
PHP код:
WeaponMenu = CreateMenu("Weapons", 1, 50.0, 180.0, 200.0, 200.0);
AddMenuItem(WeaponMenu, 0, "Rocket Launcher");
AddMenuItem(WeaponMenu, 0, "Flamethrower");
AddMenuItem(WeaponMenu, 0, "Minigun");
AddMenuItem(WeaponMenu, 0, "Grenades");
No 1: | | | " Rocket Launcher" |
NO 2: | | | Flame Thrower |
NO 3: | | | Minigun |
NO 4: | | | Gerandes |
PHP код:
GivePlayerWeapon(36, 9999);
