Oh my god! I found a big bug!
#1

Lol, it isnt bug, i didnt found.

But i have problem, a diaglog

Reply
#2

Its fixed in RC-5-2 which was released few hours ago.
Reply
#3


Reply
#4

It's not possible to be done like that.
Reply
#5

Код:
if(dialogid == 2)
  {
    if(!response) return 0; // If you cancel this callback stops
    new cmdtext[256];
		new tmp[256];
    new tmppass[64];
		if(gPlayerLogged[playerid] == 1)
		{
			SendClientMessage(playerid, TEAM_AZTECAS_COLOR, "SERVER: Sa oled juba sees logitud.");
			return 1;
		}
		new idx;
		tmp = strtok(cmdtext, idx);
		strmid(tmppass, tmp, 0, strlen(cmdtext), 255);
		OnPlayerLogin(playerid,tmppass);
    return 1;
  }
The login doenst work :S

I press enter and logged... wtf without password? :S
Reply
#6

Manku,

The "cmdtext" string is unfortunately not defined in OnDialogResponse, please replace all occurences of it with "inputtext".
Reply
#7

Quote:
Originally Posted by JaTochNietDan
Manku,

The "cmdtext" string is unfortunately not defined in OnDialogResponse, please replace all occurences of it with "inputtext".
Код:
if(!inputtext != 0)
		{
			SendClientMessage(playerid, TEAM_AZTECAS_COLOR, "You didnt write a password!");
			return 1;
		}
I dont know, will that work, i get 1 errors.
Reply
#8

"inputtext" is not a variable and cannot be compared with an integer without being converted to an integer in the Pawn language.

Also, I said you need to replace "cmdtext".
Reply
#9

I know, all done.
But, one question:
Can i disable that?:
<< >> Spawn
Reply
#10

Have a look at the Grand Larceny code when the city is selected. You don't have those buttons visible at that time.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)