17.01.2015, 13:09
Me sale estos errores y no se solucionar.
Aqui los comandos
pawn Код:
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(246) : error 017: undefined symbol "NearMsg"
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(256) : error 017: undefined symbol "NearMsg"
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(266) : error 017: undefined symbol "NearMsg"
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(277) : error 017: undefined symbol "NearMsg"
C:\Users\Usuario\Desktop\Hispania Zerok\gamemodes\Hzerok.pwn(292) : error 017: undefined symbol "NearMsg"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
pawn Код:
/*--Comandos de Rol--*/
CMD:me(playerid, params[])
{
new string[124], nameplayer[MAX_PLAYER_NAME];
GetPlayerName(playerid, nameplayer, MAX_PLAYER_NAME);
if(isnull(params)) return SendClientMessage(playerid, Gris,"USA: /me [TEXTO]");
format(string, sizeof(string), "* %s %s", nameplayer, params);
NearMsg(playerid, 0xC2A2DAFF, string, 15.0);
return 1;
}
CMD:b(playerid,params[])
{
new string[124], nameplayer[MAX_PLAYER_NAME];
GetPlayerName(playerid, nameplayer, MAX_PLAYER_NAME);
if(isnull(params)) return SendClientMessage(playerid, Gris,"USA: /b [TEXTO OOC]");
format(string, sizeof(string), "(( %s dice: %s ))", nameplayer, params);
NearMsg(playerid, 0xE6E6E6E6, string, 15.0);
return 1;
}
CMD:do(playerid, params[])
{
new string[124], nameplayer[MAX_PLAYER_NAME];
GetPlayerName(playerid, nameplayer, MAX_PLAYER_NAME);
if(isnull(params)) return SendClientMessage(playerid, Gris,"USA: /do [TEXTO]");
format(string, sizeof(string), "* %s (( %s ))", params, nameplayer);
NearMsg(playerid, 0x9EC73DAA, string, 15.0);
return 1;
}
zcmd(s, playerid, params[])
{
new string[124], nameplayer[MAX_PLAYER_NAME];
GetPlayerName(playerid, nameplayer, MAX_PLAYER_NAME);
if(!isnull(params))
{
format(string, sizeof(string), "%s susurra: %s", nameplayer, params);
NearMsg(playerid, COLOR_WHITE, string, 5.0);
format(string, sizeof(string), "susurro: %s", params);
return SetPlayerChatBubble(playerid,string,-1,5.0,5000);
}
else SendClientMessage(playerid, Gris, "* /s <Texto>");
return 1;
}
zcmd(g, playerid, params[])
{
new string[124], nameplayer[MAX_PLAYER_NAME];
GetPlayerName(playerid, nameplayer, MAX_PLAYER_NAME);
if(!isnull(params))
{
format(string, sizeof(string), "%s grita: Ў%s!", nameplayer, params);
NearMsg(playerid, COLOR_WHITE, string, 40.0);
format(string, sizeof(string), "grito: Ў%s!", params);
return SetPlayerChatBubble(playerid,string,-1,60.0,5000);
}
else SendClientMessage(playerid, Gris, "* /g <Texto>");
return 1;
}