[Pedido] [FS] ou [Comandos]
#9

Quote:
Originally Posted by Dishz
Посмотреть сообщение
Vocк colocou 3 { abrindo, por isso deu erro... use
PHP код:
if(strcmp(cmd"/indisponivel"true) == 0
{
    
    if(
PlayerInfo[playerid][pAdmin] == 1)
    {
        
        
PlayerInfo[playerid][pAdmin] = 0//Ira setar o level de admin para 0 (como jogador normal)
        
PlayerInfo[playerid][aInvisible] = 1// Aqui para ele utilizar os comandos de admins (Mudar verificaзгo de permissгo)
        
SendClientMessageplayeridCOLOR_ERRO"( R.V ) Modo Afk/Ocupado Ativado" );
        
format(stringsizeof(string), "( R.V ) O Ajudante %s(%d) Esta Indisponivel Para Ajudar!. (Motivo: Afk/Ocupado)"PlayerName(playerid));
        
SendClientMessageToAllCOLOR_BRANCOstring );
    }
    return 
1;

deu certo porem alguns erros

Код:
\gamemodes\BRV.pwn(26498) : error 033: array must be indexed (variable "pAdmin")
\gamemodes\BRV.pwn(26501) : error 033: array must be indexed (variable "pAdmin")
\gamemodes\BRV.pwn(26502) : error 033: array must be indexed (variable "aInvisible")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Reply


Messages In This Thread
[FS] ou [Comandos] - by MasterDev - 07.08.2016, 13:09
Respuesta: [FS] ou [Comandos] - by Kanuy - 07.08.2016, 13:35
Re: [FS] ou [Comandos] - by Dishz - 07.08.2016, 18:10
Re: Respuesta: [FS] ou [Comandos] - by MasterDev - 08.08.2016, 06:42
Re: [FS] ou [Comandos] - by MasterDev - 08.08.2016, 06:48
Re: [FS] ou [Comandos] - by Dishz - 08.08.2016, 06:54
Re: [FS] ou [Comandos] - by MasterDev - 08.08.2016, 07:03
Re: [FS] ou [Comandos] - by Dishz - 08.08.2016, 07:08
Re: [FS] ou [Comandos] - by MasterDev - 08.08.2016, 07:21
Re: [FS] ou [Comandos] - by Dishz - 08.08.2016, 07:26

Forum Jump:


Users browsing this thread: 1 Guest(s)