Raised This Month: $ Target: $400
 0% 

Recompile =x


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
*rafael*
New Member
Join Date: Sep 2008
Old 09-14-2008 , 09:28   Recompile =x
Reply With Quote #1

That you could help me correct this plugin? = x

Sorry for my English I am BR : /

PHP Code:
new g_hMenuChoose;
new 
g_hMenuAccept;
new 
g_hVault;

new 
g_Setting[33];

new 
bool:g_bFirstJump[33];
new 
bool:g_bPlayerAccepted[33];
new 
bool:g_bCommandRanOnce[33];

// I realize this isn't the best method, but whatever
new const g_szFORCESTRINGS[][] = 
{
    
"",
    
";bind mwheelup +jump",
    
";bind mwheeldown +duck",
    
";bind mwheelup +jump;bind mwheeldown +duck",
    
";bind mwheelup ;bind mwheeldown ",
}

new const 
g_szFORCESTRINGS[][] = 
{
    
"",
    
";bind mwheelup +duck",
    
";bind mwheeldown +duck",
    
";bind mwheelup ;bind mwheeldown ",
}

public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR);
    
    
register_cvar(AUTHORPLUGINFCVAR_SERVER0.0);
    
    
g_hMenuChoose menu_create("[KZ] Qual bind você usa para Pular/Bunar""mnuChoose"0);
    
menu_additem(g_hMenuChoose"mwheelup""1"0, -1);
    
menu_additem(g_hMenuChoose"mwheeldown""2"0, -1);
    
menu_additem(g_hMenuChoose"Ambas""3"0, -1);
    
menu_additem(g_hMenuChoose"Nenhuma""4"0, -1);
    
    
g_hMenuChoose menu_create("[KZ] Qual bind você usa para Agachar""mnuChoose"0)
    
menu_additem(g_hMenuChoose"mwheelup""1"0, -1);
    
menu_additem(g_hMenuChoose"mwheeldown""2"0, -1);
    
menu_additem(g_hMenuChoose"Nenhuma""3"0, -1);
    
menu_setprop(g_hMenuChooseMPROP_EXITMEXIT_NEVER);
    
    
g_hMenuAccept menu_create("Your keys will be auto-bound to prevent jump wait. Do you accept?""mnuAccept"0);
    
menu_additem(g_hMenuAccept"Sim (To change these settings at any time, type /mwheel)""1"0, -1);
    
menu_additem(g_hMenuAccept"Não (You will be kicked)""2"0, -1);
    
menu_setprop(g_hMenuAcceptMPROP_EXITMEXIT_NEVER); 
*rafael* is offline
DeMoN
Junior Member
Join Date: Jul 2008
Old 09-16-2008 , 09:33   Re: Recompile =x
Reply With Quote #2

Scripting Help ?
Edit: wrong section
DeMoN is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 09-17-2008 , 09:25   Re: Recompile =x
Reply With Quote #3

Scripting questions/issues belong in Scripting Help
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Reply



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 02:45.


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