Dialog Problem
#1

Hello everybody.Today I started to fixing my small bugs.And I find this one.I don`t know how to fix.Dialog of streak.
Chopper Gunner () but It must be writed Chopper Gunner (0).But It`s not.



CODE:
pawn Код:
CMD:streak(playerid,params[])
{
    new string[300];
    format(string,sizeof(string),""embed_orange"Rocket Launcher"embed_grey"(%i)\n"embed_orange"Exploziv RC"embed_grey"(%i)\n"embed_orange"Exploziv Tiger"embed_grey"(%i)\n"embed_orange"Chopper-Gunner"embed_grey"(%i)",KS[playerid][RPG],KS[playerid][RCXD],KS[playerid][ChopperG]);
    ShowPlayerDialog(playerid,Dialog:Streak,DIALOG_STYLE_LIST,""embed_blue"K "embed_white"ill "embed_blue"S"embed_white"treak",string,"Select","Quit");
    return 1;
}
Reply
#2

Can Anyone help?(Sorry for double posting)
Reply
#3

Did it come to you mind to actually check your variables? You have 4 variables to insert into the string, yet I only count 3.
Reply
#4

Quote:
Originally Posted by Vince
Посмотреть сообщение
Did it come to you mind to actually check your variables? You have 4 variables to insert into the string, yet I only count 3.
Ohh my god!!I didn`t saw this.Thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)