C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(232) : error 017: undefined symbol "isnull"
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(232) : error 017: undefined symbol "SendClientMessageEx"
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(233) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(234) : error 017: undefined symbol "GetPlayerNameEx"
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(235) : error 004: function "ProxDetector" is not implemented
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(239) : error 017: undefined symbol "isnull"
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(240) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(241) : error 017: undefined symbol "Info"
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(241) : warning 215: expression has no effect
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(241) : error 001: expected token: ";", but found "]"
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(241) : error 029: invalid expression, assumed zero
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(241) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
9 Errors.
CMD:me(playerid, params[]){
if(isnull(params)) return SendClientMessageEx(playerid, Gris, "Uitiliza porfavor, {33CCFF}/me Texto{FFFFFF}, por ejemplo: {33CCFF}/me empieza a llorar{FFFFFF}");
new string[128];
format(string, sizeof(string), "* %s %s.", GetPlayerNameEx(playerid), params);
ProxDetector(30.0, playerid, string, Rol,Rol,Rol,Rol,Rol);
return 1;
}
zcmd(do, playerid, params[]){
if(!isnull(params)){
new string[128];
if(Info[playerid][pMaskuse] == 1) format(string, sizeof(string), "* %s (( Desconocido )).", params);
else format(string, sizeof(string), "* %s [ %s ].", GetPlayerNameEx(playerid), params);
return ProxDetector(30.0, playerid, string, RolDo,RolDo,RolDo,RolDo,RolDo);
}
else SendClientMessageEx(playerid, Gris, "Uitiliza porfavor, {33CCFF}/do Texto{FFFFFF}, por ejemplo: {33CCFF}/do Cae una persona por el rio{FFFFFF}");
return 1;
}
CMD:b(playerid, params[]){
if(!gPlayerLogged{playerid}) return SendClientMessageEx(playerid,Naranja, "No estбs logueado.");
if(isnull(params)) return SendClientMessageEx(playerid, Gris, "Uitiliza porfavor, {33CCFF}/b Texto{FFFFFF}, por ejemplo: {33CCFF}/b tengo poca vida{FFFFFF}");
new string[128];
format(string, sizeof(string), "%s (( %s ))", GetPlayerNameEx(playerid), params);
ProxDetector(30.0, playerid, string, Hablar,Hablar2,Hablar3,Hablar4,Hablar5);
return 1;
}
zcmd(s, playerid, params[]){
if(!isnull(params)){
new string[128];
if(Info[playerid][pMaskuse] == 1) format(string, sizeof(string), "Desconocido susurra: %s", params);
else format(string, sizeof(string), "%s susurra: %s", GetPlayerNameEx(playerid), params);
ProxDetector(3.0, playerid, string, Hablar,Hablar2,Hablar3,Hablar4,Hablar5);
format(string, sizeof(string), "%s susurra: %s", params);
return SetPlayerChatBubble(playerid,string,COLOR_WHITE,5.0,5000);
} else SendClientMessageEx(playerid, Gris, "Uitiliza porfavor, {33CCFF}/s Texto{FFFFFF}, por ejemplo: {33CCFF}/s Mirб a ese{FFFFFF}");
return 1;
}
zcmd(g, playerid, params[]){
if(!isnull(params)){
new string[128];
if(Info[playerid][pMaskuse] == 1) format(string, sizeof(string), "Desconocido grita: ЎЎ %s !!", params);
else format(string, sizeof(string), "%s grita: %s!", GetPlayerNameEx(playerid), params);
ProxDetector(30.0, playerid, string, Hablar,Hablar2,Hablar3,Hablar4,Hablar5);
format(string, sizeof(string), "%s Grita: Ў %s !", params);
return SetPlayerChatBubble(playerid,string,COLOR_WHITE,60.0,5000);
} else SendClientMessageEx(playerid, Gris, "Uitiliza porfavor, {33CCFF}/g Texto{FFFFFF}, por ejemplo: {33CCFF}/g !frenaaЎ{FFFFFF");
return 1;
}
#if !defined isnull
#define isnull(%1) \
((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(235) : error 017: undefined symbol "SendClientMessageEx" C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(236) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(237) : error 017: undefined symbol "GetPlayerNameEx" C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(23 : error 004: function "ProxDetector" is not implemented C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(243) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(244) : error 017: undefined symbol "Info" C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(244) : warning 215: expression has no effect C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(244) : error 001: expected token: ";", but found "]" C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(244) : error 029: invalid expression, assumed zero C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(244) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 7 Errors. |
GetPlayerNameEx(playerid) {
new
sz_playerName[MAX_PLAYER_NAME],
i_pos;
GetPlayerName(playerid, sz_playerName, MAX_PLAYER_NAME);
while ((i_pos = strfind(sz_playerName, "_", false, i_pos)) != -1) sz_playerName[i_pos] = ' ';
return sz_playerName;
}
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(250) : error 017: undefined symbol "SendClientMessageEx" C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(251) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(253) : error 004: function "ProxDetector" is not implemented C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(25 : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(259) : error 017: undefined symbol "Info" C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(259) : warning 215: expression has no effect C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(259) : error 001: expected token: ";", but found "]" C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(259) : error 029: invalid expression, assumed zero C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(259) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors. |
SendClientMessage
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(253) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(255) : error 004: function "ProxDetector" is not implemented C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(260) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(261) : error 017: undefined symbol "Info" C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(261) : warning 215: expression has no effect C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(261) : error 001: expected token: ";", but found "]" C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(261) : error 029: invalid expression, assumed zero C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(261) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. |
forward ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5);
public ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5)
{
if(IsPlayerConnected(playerid))
{
new Float:posx, Float:posy, Float:posz;
new Float:oldposx, Float:oldposy, Float:oldposz;
new Float:tempposx, Float:tempposy, Float:tempposz;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
//radi = 2.0; //Trigger Radius
foreach(Player, i) // or use: for(new i = 0; i < MAX_PLAYERS; i++)
{
if(!BigEar[i])
{
GetPlayerPos(i, posx, posy, posz);
tempposx = (oldposx -posx);
tempposy = (oldposy -posy);
tempposz = (oldposz -posz);
if (((tempposx < radi/16) && (tempposx > -radi/16)) && ((tempposy < radi/16) && (tempposy > -radi/16)) && ((tempposz < radi/16) && (tempposz > -radi/16)))
{
SendClientMessage(i, col1, string);
}
else if (((tempposx < radi/8) && (tempposx > -radi/8)) && ((tempposy < radi/8) && (tempposy > -radi/8)) && ((tempposz < radi/8) && (tempposz > -radi/8)))
{
SendClientPlayerMessage(i, col2, string);
}
else if (((tempposx < radi/4) && (tempposx > -radi/4)) && ((tempposy < radi/4) && (tempposy > -radi/4)) && ((tempposz < radi/4) && (tempposz > -radi/4)))
{
SendClientPlayerMessage(i, col3, string);
}
else if (((tempposx < radi/2) && (tempposx > -radi/2)) && ((tempposy < radi/2) && (tempposy > -radi/2)) && ((tempposz < radi/2) && (tempposz > -radi/2)))
{
SendClientMessage(i, col4, string);
}
else if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
{
SendClientMessage(i, col5, string);
}
}
else if(MeBigears == 0)
{
SendClientMessage(i, col1, string);
}
else
{
MeBigears = 0;
}
}
}//not connected
return 1;
}
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(240) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(249) : error 017: undefined symbol "foreach" C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(251) : error 017: undefined symbol "BigEar" C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(251) : error 017: undefined symbol "i" C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(251) : error 029: invalid expression, assumed zero C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(251) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. |
public ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5) |
foreach(Player, i) // or use: for(new i = 0; i < MAX_PLAYERS; i++) |
lo puse bien y me sale estos errores
linea 240 linea 249 linea 251 if(!BigEar[i]) |
#include <foreach>