[Ajuda] Dialog no rg
#1

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;
}
Reply


Messages In This Thread
Dialog no rg - by daniels2s2123 - 10.09.2013, 22:57
Re: Dialog no rg - by PT - 10.09.2013, 23:28
Re: Dialog no rg - by daniels2s2123 - 10.09.2013, 23:32
Re: Dialog no rg - by PT - 10.09.2013, 23:42
Re: Dialog no rg - by daniels2s2123 - 10.09.2013, 23:46
Re: Dialog no rg - by Krisky_ - 11.09.2013, 17:12
Re: Dialog no rg - by PT - 11.09.2013, 18:07

Forum Jump:


Users browsing this thread: 1 Guest(s)