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; } |
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. |
#include <ZCMD>
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. |