弒血
|
分享:
▲
▼
下面是引用 pohong 於 2013-08-09 18:51 發表的 model選單問題: 瀏覽此文章需要威望 public forevermodel (id ){ new show [256] formatex (show ,255,"\rModel") new menu = menu_create (show ,"forevermodelmenu") formatex (show ,255,"MiKu") menu_additem (menu ,show ,"1",0)menu_setprop (menu ,MPROP_EXIT ,MEXIT_ALL ) menu_display (id , menu , 0) menu_destroy (menu )//這邊砍掉}public forevermodelmenu (id , menu , item ){ if( item == MENU_EXIT ) { return PLUGIN_HANDLED ;//1 menu_destroy (menu ) //2 //1跟2個位置互換 } new data [6], iName [64] new access , callback menu_item_getinfo (menu , item ,access , data , 5, iName , 63, callback ) new key = str_to_num (data ) switch(key ) { case 1: { if(forevermodel1 [id ] > 0) { client_cmd (id , "miku") client_print (id , print_chat ,"You Are Miku") } else { client_print (id ,print_chat ,"You Have Not Buy MiKu!") } } }}
|
|
x0
[3 樓]
From:臺灣中華電信股份有限公司 | Posted:2013-08-09 21:17 |
|
|
pohong
|
分享:
▲
▼
|
|
x0
[8 樓]
From:未知地址 | Posted:2013-08-10 21:54 |
|
|
|