10.09.2013, 22:57
quando digita /rg aparece a msg ... mas keria ponha em dialog ai tentei e deu esses erro
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15003) : error 017: undefined symbol "stringcar"
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15003) : error 035: argument type mismatch (argument 1)
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15004) : error 035: argument type mismatch (argument 2)
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15007) : error 035: argument type mismatch (argument 2)
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15010) : error 035: argument type mismatch (argument 2)
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15013) : error 035: argument type mismatch (argument 2)
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15016) : error 035: argument type mismatch (argument 2)
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15019) : error 035: argument type mismatch (argument 2)
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15021) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
9 Errors.
os codigos sao
if(strcmp("/rg", cmd, true) == 0)
{
new stringcat[700];
format(stringcar, sizeof(stringcat), "......:::::: - %s: [ID: %d] - ::::::.....", GetPlayerNameEx(playerid), playerid);
strcat(stringcat, -1, stringcat);
format(string, sizeof(string), "{CCFF00}» EXP: %d/%d {00FF00}» Grana na Mгo: $%d", PlayerInfo[playerid][_EXP], MAX_PLAYER_EXP, GetPlayerGrana(playerid));
strcat(stringcat, -1, string);
format(string, sizeof(string), "{CCFF00}» Level: %d/%d {00FF00}» Saldo Bancбrio: $%d", PlayerInfo[playerid][_Level], MAX_PLAYER_LEVEL, PlayerInfo[playerid][_SaldoBancario]);
strcat(stringcat, -1, string);
format(string, sizeof(string), "{CCFF00}» Estudo: %d/%d {00FF00}» Casou Com: %s", PlayerInfo[playerid][_Faculdade], MAX_PLAYER_ESTUDO, PlayerInfo[playerid][_CasouCom]);
strcat(stringcat, -1, string);
format(string, sizeof(string), "{CCFF00}» Profissгo ID: %d {00FF00}» Skin ID: %d", PlayerInfo[playerid][_Profissao], PlayerInfo[playerid][_Skin]);
strcat(stringcat, -1, string);
format(string, sizeof(string), "{CCFF00}» Matou: %d {00FF00}» Morreu: %d", matou[playerid], morreu[playerid]);
strcat(stringcat, -1, string);
strcat(stringcat, -1, stringcat);
ShowPlayerDialog(playerid, Dialogrg, DIALOG_STYLE_MSGBOX, "OK", stringcat, "Ok", " ");
return 1;
}
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15003) : error 017: undefined symbol "stringcar"
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15003) : error 035: argument type mismatch (argument 1)
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15004) : error 035: argument type mismatch (argument 2)
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15007) : error 035: argument type mismatch (argument 2)
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15010) : error 035: argument type mismatch (argument 2)
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15013) : error 035: argument type mismatch (argument 2)
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15016) : error 035: argument type mismatch (argument 2)
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15019) : error 035: argument type mismatch (argument 2)
C:\Users\Daniel\Desktop\BetaRP\gamemodes\BetaRP.pw n(15021) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
9 Errors.
os codigos sao
if(strcmp("/rg", cmd, true) == 0)
{
new stringcat[700];
format(stringcar, sizeof(stringcat), "......:::::: - %s: [ID: %d] - ::::::.....", GetPlayerNameEx(playerid), playerid);
strcat(stringcat, -1, stringcat);
format(string, sizeof(string), "{CCFF00}» EXP: %d/%d {00FF00}» Grana na Mгo: $%d", PlayerInfo[playerid][_EXP], MAX_PLAYER_EXP, GetPlayerGrana(playerid));
strcat(stringcat, -1, string);
format(string, sizeof(string), "{CCFF00}» Level: %d/%d {00FF00}» Saldo Bancбrio: $%d", PlayerInfo[playerid][_Level], MAX_PLAYER_LEVEL, PlayerInfo[playerid][_SaldoBancario]);
strcat(stringcat, -1, string);
format(string, sizeof(string), "{CCFF00}» Estudo: %d/%d {00FF00}» Casou Com: %s", PlayerInfo[playerid][_Faculdade], MAX_PLAYER_ESTUDO, PlayerInfo[playerid][_CasouCom]);
strcat(stringcat, -1, string);
format(string, sizeof(string), "{CCFF00}» Profissгo ID: %d {00FF00}» Skin ID: %d", PlayerInfo[playerid][_Profissao], PlayerInfo[playerid][_Skin]);
strcat(stringcat, -1, string);
format(string, sizeof(string), "{CCFF00}» Matou: %d {00FF00}» Morreu: %d", matou[playerid], morreu[playerid]);
strcat(stringcat, -1, string);
strcat(stringcat, -1, stringcat);
ShowPlayerDialog(playerid, Dialogrg, DIALOG_STYLE_MSGBOX, "OK", stringcat, "Ok", " ");
return 1;
}