AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   adding menu to this (https://forums.alliedmods.net/showthread.php?t=46538)

AngelOfDarkness 10-28-2006 15:00

adding menu to this
 
I want it so the menu cmd to open it is /rankingmenu
and i want someone to add the flags i suggested in my other topic here so when i click it it gives me a list of users and flags to give them in the menu like

"Menu"
Leader <--> I clicked Leader --> Username ---> angelofdarkness ---> which flags do you want you can go through a menu of flags to click and when ur done click 0 -->done.
Also can someone help me fix this script all together :cry:

my code so far:
Code:

#include <amxmodx>
#include <amxmisc>
#inlcude <cstrike>

[Cvars]
clan_leader "user" "tag" "flags"
clan_coleader "user" "tag" "flags"
clan_admin "user" "tag" "flags"
clan_member "user" "tag" "flags"

#define PLUGIN "Clan_Ranting"
#define VERSION "0.1"
#define AUTHOR "NowakFilip"

#define ADMIN_LEVEL_G

new
pCvar_leader
new pCvar_coleader
new pCvar_admin
new pCvar_member


public plugin_init
() {
   
register_plugin("Clan_Rating", "0.1", "NowakFilip/AOD")
   
   
pCvar_leader = register_cvar("clan_leader", "1")
   
pCvar_coleader = register_cvar("clan_coleader", "1")
   
pCvar_admin = register_cvar("clan_admin", "1")
   
pCvar_chances = register_cvar("clan_member", "1"






Nostrodamous 10-28-2006 18:30

Re: adding menu to this
 
PM me if you want some help :up:

SweatyBanana 10-29-2006 00:55

Re: adding menu to this
 
Nowak, since you do not know what you are doing, quit trying to confuse new scriptors..

I suggest you read up on some basics of coding something a bit easier such as java or VB.


All times are GMT -4. The time now is 04:57.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.