23.09.2012, 17:07
Me ajudem a resolver esses erros:
warnings
Linhas 870 e 871:
Erro
Linha 959:
Linhas de 955 atй a 959:
Topo do GM
warnings
pawn Код:
(870) : warning 202: number of arguments does not match definition
(871) : warning 202: number of arguments does not match definition
pawn Код:
minUP[playerid] = DOF2_SetInt(file, "Relogioupm");
segUP[playerid] = DOF2_SetInt(file, "Relogioups");
pawn Код:
(959) : error 012: invalid function call, not a valid address
(959) : warning 215: expression has no effect
(959) : error 001: expected token: ";", but found ")"
(959) : error 029: invalid expression, assumed zero
(959) : fatal error 107: too many error messages on one line
pawn Код:
DOF2_SetInt(ReturnFileUser(playerid),"EXP", pEXP(playerid));
pawn Код:
DOF2_SetInt(ReturnFileUser(playerid),"Level",GetPlayerScore(playerid));
DOF2_SetInt(ReturnFileUser(playerid),"Dinheiro",GetPlayerMoney(playerid));
DOF2_SetInt(ReturnFileUser(playerid),"Admin Level",PlayerDados[playerid][pAdmin]);
DOF2_SetInt(ReturnFileUser(playerid),"Skin",GetPlayerSkin(playerid));
DOF2_SetInt(ReturnFileUser(playerid),"EXP", pEXP(playerid));
DOF2_SetInt(ReturnFileUser(playerid),"VIP", PlayerDados[playerid][pVIP]);
DOF2_SaveFile();
Topo do GM
pawn Код:
// Enum dos dados
enum pDados
{
pAdmin,
pVIP,
pEXP
};