Raised This Month: $32 Target: $400
 8% 

menu mulilingual


  
 
 
Thread Tools Display Modes
Author Message
anthologie
Senior Member
Join Date: May 2010
Old 12-17-2010 , 18:25   menu mulilingual
#1

Bonjours a tous ,


j'aimerais s'il vous plais que vous modfiez ce plugin car le menu s'ouvre a

chaque round dont moi je desire tout les 4 rounds svp

Code:
#include <amxmodx>
#include <hamsandwich>
#define VERSION "0.0.1"
public plugin_init()
{
 register_plugin("Menu Multilingual", VERSION, "Devil")
 
 RegisterHam(Ham_Spawn, "player", "PlayerSpawn_Post", 1)
}
public PlayerSpawn_Post(id)
{
 MenuMultilingual(id)
}
public MenuMultilingual(id)
{
 new menu = menu_create ("\rRules Server :", "ActionMenu")
 menu_additem(menu, "\wRules in \yFrench", "1")
 menu_additem(menu, "\wRules in \yEnglish", "2")
 menu_additem(menu, "\wRules in \yGerman", "3")
 menu_additem(menu, "\wRules in \ySpanish", "4")
 menu_setprop(menu, MPROP_EXIT, MEXIT_ALL)
 
 menu_display(id, menu)
}
public ActionMenu(id, menu, item)
{
 if (item == MENU_EXIT)
 {
  return PLUGIN_HANDLED
 }
 
 new info[3]
 new access, callback
 menu_item_getinfo(menu, item, access, info, 2, _, _, callback)
 
 new key = str_to_num(info)
 
 switch(key)
 {
  case 1:
  {
   show_motd(id, "http://img84.**************/img84/8936/reglefr.png")
  }
  
  case 2:
  {
   show_motd(id, "http://img214.**************/img214/3822/ruleen.png")
  }
  
  case 3:
  {
   show_motd(id, "http://img547.**************/img547/3941/ruledt.png")
  }
  
  case 4:
  {
   show_motd(id, "http://img819.**************/img819/42/rulesp.png")
  }
 }
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1036\\ f0\\ fs16 \n\\ par }
*/
Merci D'avance
anthologie 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 01:25.


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