Raised This Month: $ Target: $400
 0% 

[HELP] Server crashing on MENU command


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
malec321
Senior Member
Join Date: May 2009
Location: Los Angeles
Old 06-28-2009 , 14:15   [HELP] Server crashing on MENU command
Reply With Quote #1

Grr this is pissing me off. Can anyone explain why everytime i type /xp the server crashes and the menu doesnt show.


PHP Code:
public cmdPmenuid )
{
if ( ( 
is_user_alive id ) ) && ( get_pcvar_num pCvarEnabled ) ) )
{
set_task1.0"Pmenu" )
}
else if ( !
is_user_alive id ) )
{
client_print idprint_chat"%s You are dead"PREFIX )
}
else
{
client_print idprint_chat"%s Plugin is disabled"PREFIX )
}
}

public 
Pmenuid )
{
new 
menu menu_create "/rHide N Seek XP""P_Menu" )

menu_additem menu"\rGrenade \yMenu \r(Terrorist)""1")
menu_additem menu"\rHealth \yMenu""2")
menu_additem menu"\rArmor \yMenu" "3")
menu_additem menu"\rShop \yMenu""4")
menu_additem menu"\rBuy \yXP""5")
menu_additem menu"\rRevive - \y50 points""6")

menu_setprop menuMPROP_EXITMEXIT_NEVER );
menu_display (idmenu
malec321 is offline
 



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:26.


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