get Players
#1

pawn Код:
.              for(new i;i<MAX_PLAYERS;i++)
               {
                   if(IsPlayerConnected(i))
                   {
                      GetPlayerName(i, playername, MAX_PLAYER_NAME);
                      format(string, sizeof string,"%s%d %s\n",string,i,playername);
                   }
                   
               }
               ShowPlayerDialog(playerid, LIST, DIALOG_STYLE_LIST,"PlayersLIST",string, "ok", "Cancel");


               



               if(dialogid == LIST)
               {
                  if(response)
                  {
                     giveplayerid = ??????;
                     GivePlayerMoney(giveplayerid,1000);
                  }
                  else
                  {

                  }
                  return 1;
               }
Reply


Messages In This Thread
help get Players - by 435076378 - 12.11.2010, 06:25
Re: help get Players - by Kidemo - 12.11.2010, 06:26
Re: get Players - by Rafa - 12.11.2010, 06:30
Re: help get Players - by gr56 - 12.11.2010, 06:41

Forum Jump:


Users browsing this thread: 2 Guest(s)