toggleplayercontrallable and repeats
#6

Quote:
Originally Posted by frouzen
Посмотреть сообщение
PHP код:
public OnPlayerUpdate(playerid) {  
if(
GetPlayerPing(playerid) > MAX_PING)  
    {  
    if(!
isFrozen[playerid])
        {      
            
TogglePlayerControllable(playerid0); //true/freeze  
            
SendClientMessage(playerid, -1"true");
            
isFrozen[playerid] = true;
        }
    }        
    else if(
GetPlayerPing(playerid) < MAX_PING)  
    {
        if(
isFrozen[playerid])
        {
            
TogglePlayerControllable(playerid1); //false/unfreeze  
            
SendClientMessage(playerid, -1"false"); 
            
isFrozen[playerid] = false;
        }
    }        

Код:
C:\Users\User\Desktop\SAE\filterscripts\sPing.pwn(8) : error 017: undefined symbol "isFrozen"
C:\Users\User\Desktop\SAE\filterscripts\sPing.pwn(8) : warning 215: expression has no effect
C:\Users\User\Desktop\SAE\filterscripts\sPing.pwn(8) : error 001: expected token: ";", but found "]"
C:\Users\User\Desktop\SAE\filterscripts\sPing.pwn(8) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\SAE\filterscripts\sPing.pwn(8) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
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: 3 Guest(s)