Help With Dialogs
#3

Quote:
Originally Posted by WatchDog
Hi Can You Do Changes In One Of The Code And Show Me

Here Is The Linkhttps://sampforum.blast.hk/showthread.php?tid=607842
Mods command look ok, now see and learn.
PHP Code:
CMD:moderators(playeridparams[])
{
   new 
count 0string[256];
   
//SendClientMessage(playerid, blue,"Current online moderators:");
   
for(new 0MAX_PLAYERS++)
   {
      if(
IsPlayerConnected(i))
      {
          if(
PlayerInfo[i][Helper] == 1)
          {
             
strcat(string,"Moderator: [%d]%s \n\r"iPlayerName2(i));
             
count++;
          }
          
ShowPlayerDialog(playerid542DIALOG_STYLE_MSGBOX"Current online Moderators: "string"OK""");
          
//ShowPlayerDialog(playerid, DIALOG ID, DIALOG STYLE, HEADING, MESSAGE, BUTTON 1, BUTTON 2);
      
}
   }
   if(
count == 0)
   {
          
ShowPlayerDialog(playerid542DIALOG_STYLE_MSGBOX"Current Online Moderators: ""No Mods Online!""OK""");
   }
   return 
1;

Reply


Messages In This Thread
Help With Dialogs - by WatchDog - 24.05.2016, 15:24
Re: Help With Dialogs - by GTLS - 24.05.2016, 16:06
Re: Help With Dialogs - by GTLS - 24.05.2016, 17:02
Re: Help With Dialogs - by WatchDog - 25.05.2016, 04:39
Re: Help With Dialogs - by ManIsHere - 25.05.2016, 10:01
Re: Help With Dialogs - by GTLS - 25.05.2016, 10:14
Re: Help With Dialogs - by TheseMan - 25.05.2016, 10:35
Re: Help With Dialogs - by GTLS - 26.05.2016, 13:21
Re: Help With Dialogs - by ilijap - 26.05.2016, 13:41

Forum Jump:


Users browsing this thread: 1 Guest(s)