[ajuda] Erro grave
#1

Galera eu tenho em mйdia uns 1000 inludes nгo sei o nome de todos e nem sei as fuзхes
eu queria saber os includes que um zcmd precisa eu vou manda os cmds que eu quero passar
eu sei fazer alguma coisa do zcmd mas nгo sei quais as includes
Quote:

CMD:gmx(playerid, params[])
{
if(PlayerDados[playerid][Admin] < 133 return SendClientMessage(playerid, BRANCO, "Vocк precisa ser admin nivel 4 para usar este comando!");
if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Vocк precisa /trabalhar para usar esse comando!");
format(String, sizeof(String), "[ADMIN] O Admin {1B95E0}%s{00C2EC} Deu GMX no servidor, em alguns segundos ele serб reiniciado", Nome(playerid));
SendClientMessageToAll(AZUL_CLARO, String);
SendRconCommand("gmx");
return 1;
}

CMD:invisivel(playerid, params[])
{
if(PlayerDados[playerid][Admin] < 4) return SendClientMessage(playerid, BRANCO, "Vocк precisa ser admin nivel 4 para usar este comando!");
if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Vocк precisa /trabalhar para usar esse comando!");
if(PlayerDados[playerid][Invisivel] == true) return SendClientMessage(playerid, CINZA, "[ADMIN] Vocк ja estб invisivel!");
SetPlayerVirtualWorld(playerid, 5);
PlayerDados[playerid][Invisivel] = true;
SendClientMessage(playerid, AZUL_CLARO, "Use /visivel para ficar visivel novamente");
return 1;
}

CMD:visivel(playerid, params[])
{
if(PlayerDados[playerid][Admin] < 4) return SendClientMessage(playerid, BRANCO, "Vocк precisa ser admin nivel 4 para usar este comando!");
if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Vocк precisa /trabalhar para usar esse comando!");
if(PlayerDados[playerid][Invisivel] == false) return SendClientMessage(playerid, CINZA, "[ADMIN] Vocк nгo estб invisivel!");
SetPlayerVirtualWorld(playerid, 0);
PlayerDados[playerid][Invisivel] = false;
SendClientMessage(playerid, AZUL_CLARO, "Vocк estб visivel novamente!");
return 1;
}

ai nгo consigo ajustar
Reply
#2

explica melhor isso
Reply
#3

Eu queria saber quais includes sгo necessбrias para usar esses cmd
Reply
#4

na verdade esses cmd nгo tгo copilando no GM vou mostrar aqui o erro
vou colocar no gm e mostrar
Reply
#5

ai da isso
Quote:

C:\Users\Gustavo\Desktop\btg\gamemodes\SAMPFOREVER N.PWN(90) : warning 201: redefinition of constant/macro (symbol "DIALOG_INFO")
C:\Users\Gustavo\Desktop\btg\gamemodes\SAMPFOREVER N.PWN(48609) : warning 225: unreachable code
C:\Users\Gustavo\Desktop\btg\gamemodes\SAMPFOREVER N.PWN(48609) : error 017: undefined symbol "gmx"
C:\Users\Gustavo\Desktop\btg\gamemodes\SAMPFOREVER N.PWN(48611) : error 017: undefined symbol "PlayerDados"
C:\Users\Gustavo\Desktop\btg\gamemodes\SAMPFOREVER N.PWN(48611) : warning 215: expression has no effect
C:\Users\Gustavo\Desktop\btg\gamemodes\SAMPFOREVER N.PWN(48611) : error 001: expected token: ";", but found "]"
C:\Users\Gustavo\Desktop\btg\gamemodes\SAMPFOREVER N.PWN(48611) : error 029: invalid expression, assumed zero
C:\Users\Gustavo\Desktop\btg\gamemodes\SAMPFOREVER N.PWN(48611) : fatal error 107: too many error messages on one line

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


5 Errors.

Reply
#6

precisa da include ZCMD
Reply
#7

Topo:
pawn Код:
#include <ZCMD>
Reply
#8

agora veio isso
Quote:

C:\Users\Gustavo\Desktop\btg\gamemodes\SAMPFOREVER N.PWN(91) : warning 201: redefinition of constant/macro (symbol "DIALOG_INFO")
C:\Users\Gustavo\Desktop\btg\gamemodes\SAMPFOREVER N.PWN(48610) : warning 225: unreachable code
C:\Users\Gustavo\Desktop\btg\gamemodes\SAMPFOREVER N.PWN(48610) : error 029: invalid expression, assumed zero
C:\Users\Gustavo\Desktop\btg\gamemodes\SAMPFOREVER N.PWN(48610) : error 017: undefined symbol "cmd_gmx"
C:\Users\Gustavo\Desktop\btg\gamemodes\SAMPFOREVER N.PWN(48610) : error 029: invalid expression, assumed zero
C:\Users\Gustavo\Desktop\btg\gamemodes\SAMPFOREVER N.PWN(48610) : 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
#9

http://solidfiles.com/d/d20f/
Reply
#10

eu ja tenho o zcmd
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)