Problema intalnita (descriere):undefined symbol playername din acest dialog mentionat in acest cod
Ero(area / rile) / warning-(ul / urile):undefined symbol playername am precizat mai sus
Liniile de cod / sursa / script-ul(obligatoriu):
if(dialogid == DIALOG_REPORT)
{
if(response == 1)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid,DIALOG_REPORTJUCATOR,DIALOG_STYLE_INPUT,"{0066FF}Raporteaza {FFFFFF}un {0066FF}jucator:","Spuneti-ne cateva detalii despre jucator si numele acestuia.","Select","Cancel");
return 1;
}
if(listitem == 1)
{
ShowPlayerDialog(playerid,DIALOG_AJUTOR,DIALOG_STYLE_INPUT,"{0066FF}Ajutor {FFFFFF}/ {0066FF}probleme:","Ce problema aveti?","Select","Cancel");
return 1;
}
if(listitem == 2)
{
ShowPlayerDialog(playerid,DIALOG_BUG,DIALOG_STYLE_INPUT,"{0066FF}Raporteaza {FFFFFF}un BUG:","Despre ce bug este vorba?","Select","Cancel");
return 1;
}
if(listitem == 3)
{
ShowPlayerDialog(playerid,DIALOG_BLOCAT,DIALOG_STYLE_INPUT,"{0066FF}Probleme {FFFFFF}tehnice:","M-am blocat!","Trimite","Cancel");
return 1;
}
if(listitem == 4)
{
ShowPlayerDialog(playerid,DIALOG_VAD,DIALOG_STYLE_INPUT,"{0066FF}Probleme {FFFFFF}tehnice:","Nu vad nimic!","Trimite","Cancel");
return 1;
}
if(listitem == 5)
{
ShowPlayerDialog(playerid,DIALOG_PIERDUT,DIALOG_STYLE_INPUT,"{0066FF}Probleme {FFFFFF}tehnice:","Scrie mai jos TOT MESAJUl in functie de problema ta.","Trimite","Cancel");
return 1;
}
if(listitem == 6)
{
ShowPlayerDialog(playerid,DIALOG_ALTA,DIALOG_STYLE_INPUT,"{0066FF}Alte {FFFFFF}probleme!:","Scrie mai jos TOT MESAJUl in functie de problema.","Trimite","Cancel");
return 1;
}
}
if(response == 0)
{
ShowPlayerDialog(playerid,DIALOG_INAPOI,DIALOG_STYLE_MSGBOX,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS - Inchidere","Esti sigur ca vrei sa inchizi reportul?","Da","Inapoi");
return 1;
}
}
if(dialogid == DIALOG_REPORTJUCATOR)
{
if(response == 1)
{
new string[128];
SendClientMessage(playerid,COLOR_WHITE,"SERVER: Jucatorul a fost raportat , iar in scurt timp un administrator se va ocupa de acesta.");
format(string, sizeof(string), "[REPORT]: {7a0f27}%s{FFFFFF} a raportat un jucator! : {7a0f27}({FFFFFF} %s {7a0f27})",PlayerName(playerid),inputtext);
RBroadCast(COLOR_LIGHTBLUE,string,1);
SetPVarInt(playerid,"Report",1);
}
if(response == 0)
{
ShowPlayerDialog(playerid,DIALOG_INAPOI,DIALOG_STYLE_MSGBOX,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS - Inchidere","Esti sigur ca vrei sa inchizi reportul?","Da","Inapoi");
}
}
if(dialogid == DIALOG_AJUTOR)
{
if(response == 1)
{
new string[128];
SendClientMessage(playerid,COLOR_WHITE,"SERVER: Problema dvs. a fost trimisa catre un administrator.");
format(string, sizeof(string), "[REPORT]: {7a0f27}%s{FFFFFF} are o problema! : {7a0f27}({FFFFFF} %s {7a0f27})",PlayerName(playerid),inputtext);
RBroadCast(COLOR_LIGHTBLUE,string,1);
SetPVarInt(playerid,"Report",1);
}
if(response == 0)
{
ShowPlayerDialog(playerid,DIALOG_INAPOI,DIALOG_STYLE_MSGBOX,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS - Inchidere","Esti sigur ca vrei sa inchizi reportul?","Da","Inapoi");
}
}
if(dialogid == DIALOG_BUG)
{
if(response == 1)
{
new string[128];
SendClientMessage(playerid,COLOR_WHITE,"SERVER: BUG-ul gasit de dvs. a fost trimis catre un administrator pentru analizare! Iti multumim!");
format(string, sizeof(string), "[REPORT]: {7a0f27}%s{FFFFFF} a gasit un bug! : {7a0f27}({FFFFFF} %s {7a0f27})",PlayerName(playerid),inputtext);
RBroadCast(COLOR_LIGHTBLUE,string,1);
SetPVarInt(playerid,"Report",1);
}
if(response == 0)
{
ShowPlayerDialog(playerid,DIALOG_INAPOI,DIALOG_STYLE_MSGBOX,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS - Inchidere","Esti sigur ca vrei sa inchizi reportul?","Da","Inapoi");
}
}
if(dialogid == DIALOG_BLOCAT)
{
if(response == 1)
{
new string[128];
SendClientMessage(playerid,COLOR_WHITE,"SERVER: Reportul M-AM BLOCAT a fost trimis!");
format(string,sizeof(string),"[REPORT]: {7a0f27}%s{FFFFFF} s-a blocat!)",PlayerName(playerid),inputtext);
RBroadCast(COLOR_LIGHTBLUE,string,1);
SetPVarInt(playerid,"Report",1);
}
if(response == 0)
{
ShowPlayerDialog(playerid,DIALOG_INAPOI,DIALOG_STYLE_MSGBOX,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS - Inchidere","Esti sigur ca vrei sa inchizi reportul?","Da","Inapoi");
}
}
if(dialogid == DIALOG_VAD)
{
if(response == 1)
{
new string[128];
SendClientMessage(playerid,COLOR_WHITE,"SERVER: Reportul NU VAD NIMIC a fost trimis!");
format(string,sizeof(string),"[REPORT]: {7a0f27}%s{FFFFFF} nu vede nimic!)",PlayerName(playerid),inputtext);
RBroadCast(COLOR_LIGHTBLUE,string,1);
SetPVarInt(playerid,"Report",1);
}
if(response == 0)
{
ShowPlayerDialog(playerid,DIALOG_INAPOI,DIALOG_STYLE_MSGBOX,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS - Inchidere","Esti sigur ca vrei sa inchizi reportul?","Da","Inapoi");
}
}
if(dialogid == DIALOG_PIERDUT)
{
if(response == 1)
{
new string[128];
SendClientMessage(playerid,COLOR_WHITE,"SERVER: Reportul dumneavostra a fost trimis!");
format(string,sizeof(string),"[REPORT]: {7a0f27}%s{FFFFFF} a pierdut un bun personal! : {7a0f27}({FFFFFF} %s {7a0f27})",PlayerName(playerid),inputtext);
RBroadCast(COLOR_LIGHTBLUE,string,1);
SetPVarInt(playerid,"Report",1);
}
if(response == 0)
{
ShowPlayerDialog(playerid,DIALOG_INAPOI,DIALOG_STYLE_MSGBOX,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS - Inchidere","Esti sigur ca vrei sa inchizi reportul?","Da","Inapoi");
}
}
if(dialogid == DIALOG_ALTA)
{
if(response == 1)
{
new string[128];
SendClientMessage(playerid,COLOR_WHITE,"SERVER: Reportul dumneavostra a fost trimis!");
format(string,sizeof(string),"[REPORT]: {7a0f27}%s{FFFFFF} are o problema! : {7a0f27}({FFFFFF} %s {7a0f27})",PlayerName(playerid),inputtext);
RBroadCast(COLOR_LIGHTBLUE,string,1);
SetPVarInt(playerid,"Report",1);
}
if(response == 0)
{
ShowPlayerDialog(playerid,DIALOG_INAPOI,DIALOG_STYLE_MSGBOX,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS - Inchidere","Esti sigur ca vrei sa inchizi reportul?","Da","Inapoi");
}
}
if(dialogid == DIALOG_INAPOI)
{
if(response == 0)
{
ShowPlayerDialog(playerid,DIALOG_REPORT,DIALOG_STYLE_LIST,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS","{0066FF}1.{FFFFFF}Raporteaza un jucator.\n{0066FF}2.{FFFFFF}Ajutor / Probleme.\n{0066FF}3.{FFFFFF}Raporteaza un BUG.\n{0066FF}4.{FFFFFF}M-am blocat.\n{0066FF}5.{FFFFFF}Nu vad nimic.\n{0066FF}6.{FFFFFF}Am pierdut un bun personal.\n{0066FF}7.{FFFFFF}Alte probleme.","Select","Cancel");
}
return 1;
}
Imagini / Video (optional):..........Am precizat mai sus .......
Ati incercat sa rezolvati singur?:Desigur dar nam gasit o modalitate buna.
Question
KingZone
Problema intalnita (descriere):undefined symbol playername din acest dialog mentionat in acest cod
Ero(area / rile) / warning-(ul / urile):undefined symbol playername am precizat mai sus
Liniile de cod / sursa / script-ul(obligatoriu):
if(dialogid == DIALOG_REPORT) { if(response == 1) { if(listitem == 0) { ShowPlayerDialog(playerid,DIALOG_REPORTJUCATOR,DIALOG_STYLE_INPUT,"{0066FF}Raporteaza {FFFFFF}un {0066FF}jucator:","Spuneti-ne cateva detalii despre jucator si numele acestuia.","Select","Cancel"); return 1; } if(listitem == 1) { ShowPlayerDialog(playerid,DIALOG_AJUTOR,DIALOG_STYLE_INPUT,"{0066FF}Ajutor {FFFFFF}/ {0066FF}probleme:","Ce problema aveti?","Select","Cancel"); return 1; } if(listitem == 2) { ShowPlayerDialog(playerid,DIALOG_BUG,DIALOG_STYLE_INPUT,"{0066FF}Raporteaza {FFFFFF}un BUG:","Despre ce bug este vorba?","Select","Cancel"); return 1; } if(listitem == 3) { ShowPlayerDialog(playerid,DIALOG_BLOCAT,DIALOG_STYLE_INPUT,"{0066FF}Probleme {FFFFFF}tehnice:","M-am blocat!","Trimite","Cancel"); return 1; } if(listitem == 4) { ShowPlayerDialog(playerid,DIALOG_VAD,DIALOG_STYLE_INPUT,"{0066FF}Probleme {FFFFFF}tehnice:","Nu vad nimic!","Trimite","Cancel"); return 1; } if(listitem == 5) { ShowPlayerDialog(playerid,DIALOG_PIERDUT,DIALOG_STYLE_INPUT,"{0066FF}Probleme {FFFFFF}tehnice:","Scrie mai jos TOT MESAJUl in functie de problema ta.","Trimite","Cancel"); return 1; } if(listitem == 6) { ShowPlayerDialog(playerid,DIALOG_ALTA,DIALOG_STYLE_INPUT,"{0066FF}Alte {FFFFFF}probleme!:","Scrie mai jos TOT MESAJUl in functie de problema.","Trimite","Cancel"); return 1; } } if(response == 0) { ShowPlayerDialog(playerid,DIALOG_INAPOI,DIALOG_STYLE_MSGBOX,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS - Inchidere","Esti sigur ca vrei sa inchizi reportul?","Da","Inapoi"); return 1; } } if(dialogid == DIALOG_REPORTJUCATOR) { if(response == 1) { new string[128]; SendClientMessage(playerid,COLOR_WHITE,"SERVER: Jucatorul a fost raportat , iar in scurt timp un administrator se va ocupa de acesta."); format(string, sizeof(string), "[REPORT]: {7a0f27}%s{FFFFFF} a raportat un jucator! : {7a0f27}({FFFFFF} %s {7a0f27})",PlayerName(playerid),inputtext); RBroadCast(COLOR_LIGHTBLUE,string,1); SetPVarInt(playerid,"Report",1); } if(response == 0) { ShowPlayerDialog(playerid,DIALOG_INAPOI,DIALOG_STYLE_MSGBOX,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS - Inchidere","Esti sigur ca vrei sa inchizi reportul?","Da","Inapoi"); } } if(dialogid == DIALOG_AJUTOR) { if(response == 1) { new string[128]; SendClientMessage(playerid,COLOR_WHITE,"SERVER: Problema dvs. a fost trimisa catre un administrator."); format(string, sizeof(string), "[REPORT]: {7a0f27}%s{FFFFFF} are o problema! : {7a0f27}({FFFFFF} %s {7a0f27})",PlayerName(playerid),inputtext); RBroadCast(COLOR_LIGHTBLUE,string,1); SetPVarInt(playerid,"Report",1); } if(response == 0) { ShowPlayerDialog(playerid,DIALOG_INAPOI,DIALOG_STYLE_MSGBOX,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS - Inchidere","Esti sigur ca vrei sa inchizi reportul?","Da","Inapoi"); } } if(dialogid == DIALOG_BUG) { if(response == 1) { new string[128]; SendClientMessage(playerid,COLOR_WHITE,"SERVER: BUG-ul gasit de dvs. a fost trimis catre un administrator pentru analizare! Iti multumim!"); format(string, sizeof(string), "[REPORT]: {7a0f27}%s{FFFFFF} a gasit un bug! : {7a0f27}({FFFFFF} %s {7a0f27})",PlayerName(playerid),inputtext); RBroadCast(COLOR_LIGHTBLUE,string,1); SetPVarInt(playerid,"Report",1); } if(response == 0) { ShowPlayerDialog(playerid,DIALOG_INAPOI,DIALOG_STYLE_MSGBOX,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS - Inchidere","Esti sigur ca vrei sa inchizi reportul?","Da","Inapoi"); } } if(dialogid == DIALOG_BLOCAT) { if(response == 1) { new string[128]; SendClientMessage(playerid,COLOR_WHITE,"SERVER: Reportul M-AM BLOCAT a fost trimis!"); format(string,sizeof(string),"[REPORT]: {7a0f27}%s{FFFFFF} s-a blocat!)",PlayerName(playerid),inputtext); RBroadCast(COLOR_LIGHTBLUE,string,1); SetPVarInt(playerid,"Report",1); } if(response == 0) { ShowPlayerDialog(playerid,DIALOG_INAPOI,DIALOG_STYLE_MSGBOX,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS - Inchidere","Esti sigur ca vrei sa inchizi reportul?","Da","Inapoi"); } } if(dialogid == DIALOG_VAD) { if(response == 1) { new string[128]; SendClientMessage(playerid,COLOR_WHITE,"SERVER: Reportul NU VAD NIMIC a fost trimis!"); format(string,sizeof(string),"[REPORT]: {7a0f27}%s{FFFFFF} nu vede nimic!)",PlayerName(playerid),inputtext); RBroadCast(COLOR_LIGHTBLUE,string,1); SetPVarInt(playerid,"Report",1); } if(response == 0) { ShowPlayerDialog(playerid,DIALOG_INAPOI,DIALOG_STYLE_MSGBOX,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS - Inchidere","Esti sigur ca vrei sa inchizi reportul?","Da","Inapoi"); } } if(dialogid == DIALOG_PIERDUT) { if(response == 1) { new string[128]; SendClientMessage(playerid,COLOR_WHITE,"SERVER: Reportul dumneavostra a fost trimis!"); format(string,sizeof(string),"[REPORT]: {7a0f27}%s{FFFFFF} a pierdut un bun personal! : {7a0f27}({FFFFFF} %s {7a0f27})",PlayerName(playerid),inputtext); RBroadCast(COLOR_LIGHTBLUE,string,1); SetPVarInt(playerid,"Report",1); } if(response == 0) { ShowPlayerDialog(playerid,DIALOG_INAPOI,DIALOG_STYLE_MSGBOX,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS - Inchidere","Esti sigur ca vrei sa inchizi reportul?","Da","Inapoi"); } } if(dialogid == DIALOG_ALTA) { if(response == 1) { new string[128]; SendClientMessage(playerid,COLOR_WHITE,"SERVER: Reportul dumneavostra a fost trimis!"); format(string,sizeof(string),"[REPORT]: {7a0f27}%s{FFFFFF} are o problema! : {7a0f27}({FFFFFF} %s {7a0f27})",PlayerName(playerid),inputtext); RBroadCast(COLOR_LIGHTBLUE,string,1); SetPVarInt(playerid,"Report",1); } if(response == 0) { ShowPlayerDialog(playerid,DIALOG_INAPOI,DIALOG_STYLE_MSGBOX,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS - Inchidere","Esti sigur ca vrei sa inchizi reportul?","Da","Inapoi"); } } if(dialogid == DIALOG_INAPOI) { if(response == 0) { ShowPlayerDialog(playerid,DIALOG_REPORT,DIALOG_STYLE_LIST,"{0066FF}AfterSchool RPG {FFFFFF}REPORTS","{0066FF}1.{FFFFFF}Raporteaza un jucator.\n{0066FF}2.{FFFFFF}Ajutor / Probleme.\n{0066FF}3.{FFFFFF}Raporteaza un BUG.\n{0066FF}4.{FFFFFF}M-am blocat.\n{0066FF}5.{FFFFFF}Nu vad nimic.\n{0066FF}6.{FFFFFF}Am pierdut un bun personal.\n{0066FF}7.{FFFFFF}Alte probleme.","Select","Cancel"); } return 1; }Imagini / Video (optional):..........Am precizat mai sus .......
Ati incercat sa rezolvati singur?:Desigur dar nam gasit o modalitate buna.
1 answer to this question
Recommended Posts