SA-MP Forums Archive
Problem with MenuStore include - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem with MenuStore include (/showthread.php?tid=662808)



Problem with MenuStore include - akib - 12.01.2019

Weapon name, description not showing full, it only shows first character...


Include : https://sampforum.blast.hk/showthread.php?tid=644913

my code:
PHP код:
CMD:buyweapon(playerid,params[]){
    
MenuStore_AddItem(playerid, 1, 342, "Boma", 500, "Throw to explode.", 200); 
    
MenuStore_AddItem(playerid, 2, 344, "Molotov", 500, "Throw to set fire to something.", 200); 
    
MenuStore_AddItem(playerid, 3, 346, "9mm Pistol", 500, "Pistol with low firepower."); 
    
MenuStore_AddItem(playerid, 4, 347, "Silenced 9mm", 500, "Pistol with low firepower."); 
    
MenuStore_AddItem(playerid, 5, 348, "Desert Eagle", 500, "Pistol with high firepower."); 
    
MenuStore_AddItem(playerid, 6, 349, "Shotgun", 500, "Normal Shotgun."); 
    
MenuStore_AddItem(playerid, 7, 350, "Sawnoff Shotgun", 500, "Powerfull Shotgun."); 
    
MenuStore_AddItem(playerid, 8, 351, "Combat Shotgun", 500, "Powerfull Shotgun."); 
    
MenuStore_AddItem(playerid, 9, 352, "Micro SMG", 500, "Two-handed machine gun."); 
    
MenuStore_AddItem(playerid, 10, 353, "MP5", 500, "Machine gun."); 
    
MenuStore_AddItem(playerid, 11, 355, "AK-47", 500, "Powerfull Rifle."); 
    
MenuStore_AddItem(playerid, 12, 356, "M4", 500, "Powerfull Rifle."); 
    
MenuStore_AddItem(playerid, 13, 372, "Tec-9", 500, "Powerfull machine gun."); 
    
MenuStore_AddItem(playerid, 14, 357, "Country Rifle", 500, "Normal Rifle."); 
    
MenuStore_AddItem(playerid, 15, 358, "Sniper Rifle", 500, "Powerfull Rifle."); 
    
MenuStore_AddItem(playerid, 16, 359, "Test", 500, "Hello Test");  
    
MenuStore_Show(playerid, Weapon_Shop, "Shop Weapons"); 
    return 
1;
} 



Re: Problem with MenuStore include - MEW273 - 13.01.2019

A quick search of the topic for this include yields the following information:
https://forum.sa-mp.com/showpost.php...1&postcount=23


Re: Problem with MenuStore include - akib - 14.01.2019

Quote:
Originally Posted by MEW273
Посмотреть сообщение
A quick search of the topic for this include yields the following information:
https://forum.sa-mp.com/showpost.php...1&postcount=23
Thanks!