[Ajuda] bloquear o comando de abrir portгo so para admins
#6

agora aparece isto

PHP код:
C:\Users\Flavio Pereira\Desktop\PlayHappy\PlayHappy\gamemodes\PlayHappy.pwn(16341) : warning 217loose indentation
C
:\Users\Flavio Pereira\Desktop\PlayHappy\PlayHappy\gamemodes\PlayHappy.pwn(29454) : error 036: empty statement
C
:\Users\Flavio Pereira\Desktop\PlayHappy\PlayHappy\gamemodes\PlayHappy.pwn(29455) : warning 217loose indentation
C
:\Users\Flavio Pereira\Desktop\PlayHappy\PlayHappy\gamemodes\PlayHappy.pwn(29455) : error 033: array must be indexed (variable "PlayerInfo")
C:\Users\Flavio Pereira\Desktop\PlayHappy\PlayHappy\gamemodes\PlayHappy.pwn(29455) : error 029invalid expressionassumed zero
C
:\Users\Flavio Pereira\Desktop\PlayHappy\PlayHappy\gamemodes\PlayHappy.pwn(29455) : warning 215expression has no effect
C
:\Users\Flavio Pereira\Desktop\PlayHappy\PlayHappy\gamemodes\PlayHappy.pwn(29455) : error 001expected token";"but found "]"
C:\Users\Flavio Pereira\Desktop\PlayHappy\PlayHappy\gamemodes\PlayHappy.pwn(29455) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
5 Errors

linha 16341
PHP код:
    xacalaca[playerid] ++; 
linha 29454
PHP код:
    if(strcmp(#/pad, cmdtext, true) == 0); 
linha 29455
PHP код:
        if(PlayerInfo)[playerid][Admin]>0); 
comando completo:
PHP код:
if(strcmp(#/pad, cmdtext, true) == 0);
        
if(PlayerInfo)[playerid][Admin]>0);
    {
       
MoveObject(padmd1548.3618,-1714.3406,37.1879,3,0.0000,0.0000,0.0000);
    
SetTimer(#Movepadmd, 5000, 0);
    
SendClientMessage(playerid0x2641FEFF#Portao aberto);
    
return true;
    } 
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)