SA-MP Forums Archive
Hiding part of a dialog - 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: Hiding part of a dialog (/showthread.php?tid=260102)



Hiding part of a dialog - SpankMe2 - 07.06.2011

Hey silly question but can i hide part of my /help so players cant see the admin case 9: there like they can see

all the normal ones but just not the admin help


Re: Hiding part of a dialog - [H]265 - 07.06.2011

pawn Код:
if(GetPVarInt(playerid,"pAdmin") >= 1)
{
    ShowPlayerDialog(...,"HELP\nCMDS\nADMIN HELP","OK","CANCLE");
}
else if(GetPVarInt(playerid,"pAdmin") < 1)
{
     ShowPlayerDialog(...,"HELP\nCMDS","OK","CANCLE");
}



Re: Hiding part of a dialog - SpankMe2 - 07.06.2011

Thanks it works great