Raised This Month: $12 Target: $400
 3% 

Structure HUD [HELP]


Post New Thread Reply   
 
Thread Tools Display Modes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-09-2010 , 22:55   Re: Structure HUD [HELP]
Reply With Quote #11

Quote:
Originally Posted by Bugsy View Post
flamin please read through the scripting tutorials on the forum, you have been asking beginner level questions for a while now. Not trying to be mean or anything but you should spend some time to learn instead of asking others to write and or fix your scripts.
EDIT: Trying to delete your bump to not get reprimanded? Nice try.
__________________
fysiks is offline
flamin
BANNED
Join Date: Jul 2009
Location: Los Teques
Old 04-09-2010 , 23:06   Re: Structure HUD [HELP]
Reply With Quote #12

fysiks Try to make the code, I have advance the code But it has errors:

Look this is the code:

PHP Code:
public votemap_handle(idmenuitem)
{
    if( 
item ) return PLUGIN_CONTINUE;
 
    static 
accesscallback
    
static cmd[1056], cmdname[1056]

    
cmdname[0] = '^0'
    
cmd[0] = '^0'
 
    
menu_item_getinfo(menuitemaccesscmd,1055,cmdname,1055callback);
    
pug_votemap_votes[str_to_num(cmd)]++;
        
    
set_hudmessage(025500.760.1000.0,30.00.00.03)
    
show_hudmessage(0,"Map votes:")

    
set_hudmessage(2552552250.760.13,00.0,30.00.00.04)
    
show_hudmessage(0,cmdname,1055)

    
client_print(0,print_chat,"",pug_headerLANG_PLAYER"PUG_VOTED_FOR"cmdname);
    
console_print(0,"%s %L",pug_headerLANG_PLAYER"PUG_VOTED_FOR"cmdname);

    
pug_voted[id] = 1;
    if(
pug_should_stopvote() ) votemap_end()
 
    return 
PLUGIN_HANDLED;

The problem is that in the hud when 1 person votes by a map, The map is placed in the hud but when another person votes on the other map, clears the first map elected and placed in the hud the second map...

How can I make that once elected any map is left in the hud and do not disappear from hud until q change the map?

Here is a screenshot with what i want
Attached Thumbnails
Click image for larger version

Name:	maps.JPG
Views:	197
Size:	77.3 KB
ID:	63441  

Last edited by flamin; 04-09-2010 at 23:12.
flamin is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 04-10-2010 , 09:00   Re: Structure HUD [HELP]
Reply With Quote #13

Quote:
Originally Posted by flamin View Post
Here is a screenshot with what i want
I don't get these threads by flamin... If there's already a plugin that does exactly what you want, why are you asking these stuff here?
Seta00 is offline
flamin
BANNED
Join Date: Jul 2009
Location: Los Teques
Old 04-10-2010 , 11:15   Re: Structure HUD [HELP]
Reply With Quote #14

The plugin is deprived of servers payments...

We have to pay for able to enter the servers, And they have plugin deprived of them, What i did was take a screenshot to vote on maps, and i am doing this plugin, I already have the plugin almost by half but have mistakes as I said before...

You can help to complete the structure?
flamin is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-10-2010 , 17:38   Re: Structure HUD [HELP]
Reply With Quote #15

SEARCH!!! "permanent hud" in Scripting Help.

Quote:
Originally Posted by Seta00 View Post
I don't get these threads by flamin... If there's already a plugin that does exactly what you want, why are you asking these stuff here?
He is trying to recreate a plugin that is not public. ESEA or something like that. And, he's not doing too well lol.
__________________

Last edited by fysiks; 04-10-2010 at 17:44.
fysiks is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-10-2010 , 18:00   Re: Structure HUD [HELP]
Reply With Quote #16

I will write this for you if you promise to start learning how to script and not post any more threads asking for people to write plugins for you.
__________________
Bugsy is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 04-10-2010 , 21:29   Re: Structure HUD [HELP]
Reply With Quote #17

Quote:
Originally Posted by Bugsy View Post
I will write this for you if you promise to start learning how to script and not post any more threads asking for people to write plugins for you.
I lol'd at you saying that just like my mother did when I was younger.
Seta00 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-10-2010 , 21:42   Re: Structure HUD [HELP]
Reply With Quote #18

Ya I consciously put a condescending tone on it.
__________________
Bugsy is offline
flamin
BANNED
Join Date: Jul 2009
Location: Los Teques
Old 04-12-2010 , 18:41   Re: Structure HUD [HELP]
Reply With Quote #19

Fysiks do not need the hud is permanent, look what I said, and bugsy do not understanding very well what it wanted say???

The code lacks some adjustments, I explain, When a player chooses a map Appears the map on the hud, But when a second player Choose a second map, The first map elected is removed from hud And the second map is positioned where he was the first, As i can arrange for the maps Are placed one below from each other?
flamin is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-12-2010 , 18:46   Re: Structure HUD [HELP]
Reply With Quote #20

Do you want the hud to look exactly as it is pictured?
__________________
Bugsy is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:36.


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