23.09.2012, 19:13
pawn Код:
C:\Documents and Settings\Bruninho\Desktop\Serv\gamemodes\Serv.pwn(1303) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Bruninho\Desktop\Serv\gamemodes\Serv.pwn(1311) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Bruninho\Desktop\Serv\gamemodes\Serv.pwn(1312) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Bruninho\Desktop\Serv\gamemodes\Serv.pwn(1343) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Bruninho\Desktop\Serv\gamemodes\Serv.pwn(1343) : error 004: function "AtualizarChatBubble" is not implemented
C:\Documents and Settings\Bruninho\Desktop\Serv\gamemodes\Serv.pwn(1344) : warning 217: loose indentation
C:\Documents and Settings\Bruninho\Desktop\Serv\gamemodes\Serv.pwn(1349) : error 028: invalid subscript (not an array or too many subscripts): "pAdmin"
C:\Documents and Settings\Bruninho\Desktop\Serv\gamemodes\Serv.pwn(1349) : warning 215: expression has no effect
C:\Documents and Settings\Bruninho\Desktop\Serv\gamemodes\Serv.pwn(1349) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Bruninho\Desktop\Serv\gamemodes\Serv.pwn(1349) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Bruninho\Desktop\Serv\gamemodes\Serv.pwn(1349) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
pawn Код:
DOF2_SetInt(ReturnFileUser(playerid), "EXP", DOF2_GetInt(ReturnFileUser(playerid), "EXP")+1);
format(string, sizeof(string), "| UP | Vocк ganhou +1 de experiкncia! [ %d / 5 ]",DOF2_SetInt(ReturnFileUser(playerid), "EXP"));
pawn Код:
DOF2_SetInt(ReturnFileUser(playerid), "Level", DOF2_GetInt(ReturnFileUser(playerid), "Level")+1);
SetPlayerScore(playerid,DOF2_SetInt(ReturnFileUser(playerid), "Level"));
format(string, sizeof(string), "| UP | Vocк juntou 5 experiкncias, e ganhou +1 level. (Level: %d) ",DOF2_SetInt(ReturnFileUser(playerid), "Level"));
pawn Код:
public AtualizarChatBubble()
{
for(new x=0; x < MAX_PLAYERS; x++)
{
if(pAdmin[x] == 1)
{
SetPlayerChatBubble(x, "Moderador(a)", 0xF5CFFFAA, 100.0, 10000);
}
}
}
pawn Код:
public AtualizarChatBubble()
{
for(new x=0; x < MAX_PLAYERS; x++)
{
if(pAdmin[x] == 1)
{
SetPlayerChatBubble(x, "Moderador(a)", 0xF5CFFFAA, 100.0, 10000);
}
}
}
Warning e erro 1349 ou seja a linha 1349 й a pAdmin[x] == 1:
pawn Код:
public AtualizarChatBubble()
{
for(new x=0; x < MAX_PLAYERS; x++)
{
if(pAdmin[x] == 1)
{
SetPlayerChatBubble(x, "Moderador(a)", 0xF5CFFFAA, 100.0, 10000);
}
}
}