toggleplayercontrallable and repeats
#5

Quote:
Originally Posted by Arbico
Посмотреть сообщение
Try this
PHP код:
#include <a_samp> 
#define FILTERSCRIPT 
#define MAX_PING 15 
public OnPlayerUpdate(playerid) { 
if(
GetPlayerPing(playerid) > MAX_PING
      { 
              
TogglePlayerControllable(playerid0); //true/freeze 
              
SendClientMessage(playerid, -1"true"); 
      } 
       
      else if(
GetPlayerPing(playerid) < MAX_PING
      { 
          
TogglePlayerControllable(playerid1); //false/unfreeze 
          
SendClientMessage(playerid, -1"false"); 
      } 
       

still spams. what exactly did you change?
Reply


Messages In This Thread
toggleplayercontrallable and repeats - by billy1337samp - 03.11.2017, 21:02
Re: toggleplayercontrallable and repeats - by billy1337samp - 04.11.2017, 13:39
Re: toggleplayercontrallable and repeats - by Arbico - 04.11.2017, 13:45
Re: toggleplayercontrallable and repeats - by frouzen - 04.11.2017, 13:56
Re: toggleplayercontrallable and repeats - by billy1337samp - 04.11.2017, 14:10
Re: toggleplayercontrallable and repeats - by billy1337samp - 04.11.2017, 14:12
Re: toggleplayercontrallable and repeats - by frouzen - 04.11.2017, 14:20
Re: toggleplayercontrallable and repeats - by billy1337samp - 04.11.2017, 14:41

Forum Jump:


Users browsing this thread: 1 Guest(s)