[HELP] Read from new | rep+
#1

Hello, i have a little question.


I have on top of script:

Код:
new	SEVG1VEHID = 0;
And i want to make when player use cmd: /sevgvehinfo she got dialog where type number on new SEVG1VEHID.

Im try this,but not working.

Код:
    format(str, 32, ""COL_GREY"Number of cars: "COL_WHITE"%d\n", SEVG1VEHID);
    strcat(string2, str);
    ShowPlayerDialog(playerid,DIALOG_SEVG1VEHID,DIALOG_STYLE_MSGBOX,""COL_PURPLE"        INFO",string2,"CLOSE","");
Reply
#2

str is to small
new str[50];
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)