One other question guys :$ - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: One other question guys :$ (
/showthread.php?tid=129634)
One other question guys :$ -
bartje01 - 22.02.2010
Fixed by ETECH
Re: One other question guys :$ -
bartje01 - 23.02.2010
btw. Is this even possible xD?
Re: One other question guys :$ -
Onyx09 - 23.02.2010
yeah it is possible :P
Re: One other question guys :$ -
bartje01 - 23.02.2010
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
Re: One other question guys :$ -
jamie009 - 23.02.2010
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..
Re: One other question guys :$ -
-Rebel Son- - 23.02.2010
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;
}
Re: One other question guys :$ -
jamie009 - 23.02.2010
Yeah sorry, Just went to check the wiki if i was right and found
I fail when am half dead at the computer
Re: One other question guys :$ -
-Rebel Son- - 23.02.2010
lol hope i helped.
Re: One other question guys :$ -
PotH3Ad - 23.02.2010
Alright, here is the link to download
http://www.mediafire.com/?unnmwdzezuz
Or
http://pawno.pastebin.com/m730002e4
Re: One other question guys :$ -
bartje01 - 23.02.2010
Quote:
Originally Posted by [___
|
Well, the message shows up. but the player color doesn't change