One other question guys :$
#1

Fixed by ETECH
Reply
#2

btw. Is this even possible xD?
Reply
#3

yeah it is possible :P
Reply
#4

Do you know how? :P If you help me with it you can become admin lvl 1 in my server.
You can because I need this for many things
Reply
#5

Quote:
Originally Posted by bartje01
Alright guys. I need that if someone has skin id 288 and he does /pdinvite [id] this happens:

He will see this dialog

ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Wanna join the PD?", string, "YES", "NO");

When the oher person puts YES he will get this name color:0x2641FEAA

When he pushed NO just nothing happens.

Maybe this is a hard question. But I really like when I have this in my server.

Thanks for taking time to read though

I'm now going to take a shower so maybe I respond some later :P
Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Wanna join the PD?", "Pick One Answer!", "YES", "NO");
 if(playerid = "YES")
 {
 SetPlayerColor(playerid, 0x2641FEAA);
 }
 else if(playerid = "NO")
 {
 }
Wouldn't it be somin like that?
Sorry am tired, Ill try lator..
Reply
#6

You were close, it's like this

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])// Begining rules
{
if(dialogid == 1)
{
if(response)
{
Setplayercolor(playerid,"color");
}
else
{
SendClientMessage(playerid,*Color*, "You Selected 'NO' ");
}
return 1;
}
if(dialogid == 2)
{
if(response)
{
SendClientMessage(playerid,*Color*, "your now PD");
}
return 1;
}
return 0;
}
Reply
#7

Yeah sorry, Just went to check the wiki if i was right and found
Код:
OnDialogResponse
I fail when am half dead at the computer
Reply
#8

lol hope i helped.
Reply
#9

Alright, here is the link to download

http://www.mediafire.com/?unnmwdzezuz

Or

http://pawno.pastebin.com/m730002e4
Reply
#10

Quote:
Originally Posted by [___
PotH3Ad ]
Alright, here is the link to download

http://www.mediafire.com/?unnmwdzezuz

Or

http://pawno.pastebin.com/m730002e4
Well, the message shows up. but the player color doesn't change
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)