Dialog doesn't response
#1

So when I type id of player in the dialog then nothing happens.
Reply
#2

What's the dialog id and what it need to do ?
Reply
#3

when i write someone's id then if it's oke then it give a extortion to my bizz if you know what I mean

but I write id and nothing happens. Thanks
Reply
#4

check line 3914, and you will notice the problem
No but seriously, we cant help if we dont see the code.
Reply
#5

ok this is the code


if
Quote:

(dialogid == 1032)
{
if(response)
{
if(PlayerInfo[playerid][pPsiskey] == -1) return SCM(playerid, GRAD2, "(greska) Vi ne posjedujete Jfirmu!");
new id;
new i = PlayerInfo[playerid][pPsiskey];
if(sscanf(inputtext, "u", id)) return ShowPlayerDialog(playerid, 1032, DIALOG_STYLE_INPUT, "{00C0FF}Firma - Postavljanje reketa", "{FFFFFF}Upisite Korisnicko ime ili ID igraca kome zelite dati\nreket nad firmom:", "Postavi", "Nazad");
RPIme(playerid, hIme[0]);
RPIme(id, hIme[1]);
strmid(SBizzInfo[i][sbExtortion], hIme[1], 0, strlen(hIme[1]), 255);
SCMF(playerid, ZELENA, "* Dali ste igracu %s reket nad vasom firmom.", hIme[1]);
SCMF(id, ZELENA, "* %s vam je dao reket nad svojom firmom.",hIme[0]);
PlayerInfo[id][Reket] = 1;
UpdateSFirmu(i);
SpremiSFirmu(i);
}
}

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)