SA-MP Forums Archive
help help! - 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: help help! (/showthread.php?tid=250497)



help help! - Shoaib - 23.04.2011

Quote:

}
}
}
if(dialogid == Dialog_Clans)
{
if(response)
{
if(listitem==0)
{
ShowPlayerDialog(playerid,Dialog_Clans,0,"Leader:[XTC]Man\nMembers:60\nClan Colour:None","Okay","Close");
}
if(listitem==1)
{
ShowPlayerDialog(playerid,Dialog_Clans,0,"Leader:[FBI]Master\nMembers:136\nClan Colour:None","Okay","Close");
}
}
}

Erros
Quote:

C:\Users\Hamza Ali\Desktop\[XTC]Man Server\gamemodes\SE.pwn(1945) : warning 202: number of arguments does not match definition
C:\Users\Hamza Ali\Desktop\[XTC]Man Server\gamemodes\SE.pwn(1949) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.




Re: help help! - Cjgogo - 23.04.2011

WOCH IS line number 1945 and 1949 THANKS PLEASE?


Re: help help! - alpha500delta - 23.04.2011

wiki.sa-mp.com/wiki/ShowPlayerDialog

You're missing a parameter.


Re: help help! - Shoaib - 23.04.2011

Quote:

ShowPlayerDialog(playerid,Dialog_Clans,0,"Leader:[FBI]Master\nMembers:136\nClan Colour:None","Okay","Close")
line 149

Quote:

ShowPlayerDialog(playerid,Dialog_Clans,0,"Leader:[XTC]Man\nMembers:60\nClan Colour:None","Okay","Close");
line 145

This It It Please Help Thanks


Re: help help! - xir - 23.04.2011

pawn Код:
// first dialog  
ShowPlayerDialog(playerid,Dialog_Clans,DIALOG_STYLE_LIST,"Clans", "Leader:[XTC]Man\nMembers:60\nClan Colour:None","Okay","Close");
// second dialog
ShowPlayerDialog(playerid,Dialog_Clans,DIALOG_STYLE_LIST,"Clans", "Leader:[FBI]Master\nMembers:136\nClan Colour:None","Okay","Close");
Look at alpha's link


Re: help help! - Cjgogo - 23.04.2011

well at dialog style you put 0 and as i saw you want to make a list so replace 0 with DIALOG_STYLE_LIST


Re: help help! - Shoaib - 23.04.2011

alpha500delta Thanks For Trying To Help But I Want It Now So I Cant Search Thanks


Re: help help! - xir - 23.04.2011

Use mine...


Re: help help! - Shoaib - 23.04.2011

Anyway Thanks But till 2 Wring
:\Users\Hamza Ali\Desktop\[XTC]Man Server\gamemodes\SE.pwn(1945) : warning 202: number of arguments does not match definition
C:\Users\Hamza Ali\Desktop\[XTC]Man Server\gamemodes\SE.pwn(1949) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.


Re: help help! - Shoaib - 23.04.2011

Thanks All All
And xir For Fixing
cjgogo For Trying So Much
And Other Guy