22.03.2011, 14:42
Well, first of all I would replace this stuff gi(number) with this:
Usage:
Anyway, the reason it won't show up is because the Cart Checkout dialog is ID 70, and you make it check at OnDialogResponse for dialog ID 435, which should be 70.
Also, do the same for your gitem. It's a lot better.
Also, to make string1,2,3,4,5 in one string, you could do that simply by using something like:
If it doesn't work, try something like:
etc
pawn Код:
new gi[6][15];
pawn Код:
if(gitem1[playerid] == 1){ gi[1]="Phone"; }
Also, do the same for your gitem. It's a lot better.
Also, to make string1,2,3,4,5 in one string, you could do that simply by using something like:
pawn Код:
format(string, sizeof(string), "Blabla \
Blablabla \
Blablablabla \
Blablabla \
Bliblablo");
pawn Код:
new string[] = "Blabla \
Blablabla \
Blablablabla \
Blablabla \
Bliblablo";