Dialog
#1

Hay is it possible to put if's in dialog sp i can ide part of commands from people who it dosnt apply for?

if so can you post an example
Reply
#2

You want to hide listitems for certain people or what?
Reply
#3

yes like admin help wont appear in there list and also commands that the admins arnt a high engough level to see
Reply
#4

does anyone know?
Reply
#5

I would suggest you'd format the listitems?

like
pawn Код:
new DialogString[256];
format(DialogString, sizeof(DialogString), "regularplayerlistitem\netcetera\netcetera");
if(IsPlayerAdmin) format(DialogString, sizeof(DialogString), "%s\nadminitems\netcetera", DialogString);
ShowPlayerDialog(playerid, 3, 2, "Deal", DialogString, "Purchase", "Cancel");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)