Dialog problem
#1

Код:
	if(dialogid == 65 && response)
	{
		new targetid;
		dUserSet(PlayerName(targetid)).("clan",inputtext);
		return 1;
	}
When I type anything in the DIALOG_STYLE_INPUT its not saving the input in the word near " Clan ".
how it it possible to make it save it?
Reply
#2

you know ... that targetid is 0 in every possible scenario ?

Also don't use
PHP код:
(dialogid == XX && response
do a
PHP код:
switch(dialogid
and check for response in every case
Reply
#3

This, didn't work
Reply
#4

What doesn't work?? i told you, you are not setting "targetid" it is always 0.
Reply
#5

PHP код:
    if(dialogid == 65)
    {
        new 
iPlayer;
        
dUserSetINT(PlayerName(iPlayer)).("clan",inputtext);
        return 
1;
    } 
Reply
#6

no ... changed the variables name doesn't change the fact it is 0! Do you even know what you are doing?
Reply
#7

Then, can you help me to fix this? or no?
Reply
#8

There is a difference between "fixing" and "writing the whole code for you" , i hope you know that aswell. Sorry ... but no.
Reply
#9

Quote:
Originally Posted by [Bios]Marcel
Посмотреть сообщение
There is a difference between "fixing" and "writing the whole code for you" , i hope you know that aswell. Sorry ... but no.
With all of my respect but why did you even reply to the post from the beginning then? lol
Reply
#10

Quote:
Originally Posted by SytonicX
Посмотреть сообщение
With all of my respect but why did you even reply to the post from the beginning then? lol
because i expected a little more from you but you are kind of in the wrong section i think
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)