SA-MP Forums Archive
[HELP] Read from new | rep+ - 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: [HELP] Read from new | rep+ (/showthread.php?tid=573187)



[HELP] Read from new | rep+ - TiXz0r - 05.05.2015

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","");



Re: [HELP] Read from new | rep+ - Jefff - 05.05.2015

str is to small
new str[50];