Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Dialogs not showing an interger!

$
0
0
Heres my dialog code:
PHP Code:

CMD:bphelp(playeridparams[])
{
    new 
string[1024];
    
strcat(string"{FF0000}Small Backpack Information:{FFFFFF}\n");
    
strcat(string"{00FF00}Narcotics Storage:{FFFFFF}\t\t\t\t\t %d Grams\n"BP_NARC);
    
strcat(string"{00FF00}Firearms Storage:{FFFFFF}\t\t\t\t\t 40 Grams\n");
    
ShowPlayerDialog(playerid,DIALOG_BACKPACKHELP,DIALOG_STYLE_MSGBOX"{FFFF00}Information:{FFFFFF} Backpacks"string"Close""");
    return 
1;


Only the Firearms storage is showing in the Dialog but not the narcotics and the Narcotics define is:
PHP Code:

#define BP_NARC 40 

Any help? I want it to show the 40 in the dialog

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>