Merci mais sa me fait deux warning
C:DOCUME~1MamanMESDOC~1\_FR_LO~1GAMEMO~1LS-RP-V2.PWN(3868) : warning 202: number of arguments does not match definition
if(dialogid == REPORTMENU)
{
if(response)
{
new str[160];
GetPlayerName(playerid, str, MAX_PLAYER_NAME);
for (new i = 0; i < MAX_PLAYER_NAME; i++)
if (str[i] == '_')
str[i] = ' ';
format(str, sizeof(str), "(ID:%d)%s Report: %s",playerid, str, (inputtext));
ABroadCast(COLOR_YELLOW,str,1);
SendClientMessage(playerid, COLOR_YELLOW, "Report Envoyé!");
SendClientMessage(playerid, COLOR_YELLOW, "Report: %s", (inputtext));
}
}
if(dialogid == QUESTIONSMENU)
{
if(response)
{
new str[160];
GetPlayerName(playerid, str, MAX_PLAYER_NAME);
for (new i = 0; i < MAX_PLAYER_NAME; i++)
if (str[i] == '_')
str[i] = ' ';
format(str, sizeof(str), "(ID:%d)%s Question: %s",playerid, str, (inputtext));
ABroadCast(COLOR_YELLOW,str,1);
SendClientMessage(playerid, COLOR_YELLOW, "Question: %s", (inputtext));
}
}
Double post
Edit : sa me fait crash le serveur IG qunad j'envoie un msg dans le menu report ou question
Double post
Edit: J'ai fait un Format, je vais voir si sa marche, en tout cas les warning sont partis