question
#1

How can i get the next player ascendingly who have some features on , for example: specing rcon admins ascendingly
Код:
CMD:specadmins(playerid, params[])
{
     foreach(new i : Character)
     {
          if(IsPlayerAdmin(i)) TogglePlayerSpectating(playerid, 1); PlayerSpectatePlayer(playerid, i, 
          SPECTATE_MODE_NORMAL);
     }
     return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
     if(newkeys & SPRINT_KEY)
     {
         //Spectating the next admin
     }
     return 1;
}
Reply


Messages In This Thread
question - by AstroPoid - 23.02.2018, 14:14
Re: question - by kingmk - 23.02.2018, 15:50
Re: question - by AstroPoid - 23.02.2018, 17:30
Re: question - by AstroPoid - 23.02.2018, 17:35

Forum Jump:


Users browsing this thread: 1 Guest(s)