I'm Desperate - 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: I'm Desperate (
/showthread.php?tid=158454)
I'm Desperate -
Kevin_Joshen - 10.07.2010
Hello.... ill just get right to it.... im desperate.... my server already has a player base of 3-10 people.... and it's not ready.... i have quite a few stunts out there... but i really need a profesional to look at my script... help me figure out why the dialog box's dont pull up when i type /teles and i really just need someone to PLEASE help me!
I have worked soo hard on this... and i need someone to help me.
-Kevin.
Re: I'm Desperate -
Lorenc_ - 10.07.2010
What are you using? Dcmd or Strcmp?
Re: I'm Desperate -
[Weponz] - 10.07.2010
i maybe can help check your PM
Re: I'm Desperate -
Lorenc_ - 10.07.2010
Quote:
Originally Posted by [Weponz]
i maybe can help check your PM
|
I thought i was then.
-Soz for being offtopic
Re: I'm Desperate - [L3th4l] - 10.07.2010
At The Top:
Using ZCMD
pawn Код:
CMD:teles( playerid,params[] )
{
ShowPlayerDialog( playerid, TeleD,DIALOG_STYLE_LIST,"Teleports", "Los Santos\nSan Fierro\nLas Venturas\netcetcetc","Select","Close");
return 1;
}
OnDialogResponse
pawn Код:
if(dialogid == TeleD && response == 1)
{
if(listitem == 0) SetPlayerPos(playerid,blablabla)
if(listitem == 1) Set....);
if(listitem == 2) Set....);
if(listitem == 3) Set....);
}
else
{
SendClientmessage(playerid,red,"You Closed The Tele Menu");
}
Re: I'm Desperate -
Lorenc_ - 10.07.2010
Quote:
Originally Posted by [L3th4l]
At The Top:
Using ZCMD
pawn Код:
CMD:teles( playerid,params[] ) { ShowPlayerDialog( playerid, TeleD,DIALOG_STYLE_LIST,"Teleports", "Los Santos\nSan Fierro\nLas Venturas\netcetcetc","Select","Close"); return 1; }
OnDialogResponse
pawn Код:
if(dialogid == TeleD && response == 1) { if(listitem == 0) SetPlayerPos(playerid,blablabla) if(listitem == 1) Set....); if(listitem == 2) Set....); if(listitem == 3) Set....); } else { SendClientmessage(playerid,red,"You Closed The Tele Menu"); }
|
Editing on to that, if you want to put it into like a different command text just put:
pawn Код:
ShowPlayerDialog( playerid, TeleD,DIALOG_STYLE_LIST,"Teleports", "Los Santos\nSan Fierro\nLas Venturas\netcetcetc","Select","Close");
On your command :P
Re: I'm Desperate -
[Weponz] - 10.07.2010
Quote:
Originally Posted by ((Lorenc))
I thought i was then.
-Soz for being offtopic
|
Wahhhhh
......