14.07.2015, 02:26
i know is a simple problem but in the same way i can't find the problem look
The warning is at line with
Look i uploaded here too http://pastebin.com/a1D5ZViU
Quote:
CMD:factionhelp(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Trebuie sa te loghezi mai intai."); if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pMember] != 0) { if(PlayerInfo[playerid][pMember] == 1) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_LIST ,"Police Departament","/mdc /su /arrest /sellaccept /acceptpoints /opencell /opengate /m(egaphone)\n/tazer /cuff /untie/uncuff /frisk /clear /d(epartments) /r(adio)\n/wanted /ticket /duty /backup /ram /confiscate /takedrugs /startradar /stopradar","K","Q"); } else if(PlayerInfo[playerid][pMember] == 2) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_LIST ,"F.B.I","/mdc /su /arrest /sellaccept /acceptpoints/opencell /opengate /m(egaphone) /tazer /cuff /untie/uncuff /frisk /clear /d(epartments) /r(adio) /wanted /ticket /duty /backup /ram /confiscate /takedrugs /startradar /stopradar","K","Q"); } else if(PlayerInfo[playerid][pMember] == 3) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_LIST ,"F.B.I","/mdc /su /arrest /sellaccept /acceptpoints/opencell /opengate /m(egaphone) /tazer /cuff /untie/uncuff /frisk /clear /d(epartments) /r(adio) /wanted /ticket /duty /backup /ram /confiscate /takedrugs /startradar /stopradar /undercover","K","Q"); } } else if(PlayerInfo[playerid][pMember] == 4) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX ,"The Barzini Family","/order\n/cabinet\n/attack\n/wartime\n/turftimer\n/f\n/fdrugs\n/fmats\n/fdeposit\n/tie\n/untie","K","Q"); } else if(PlayerInfo[playerid][pMember] == 5) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX ,"The Tattaglia Family","/order\n/attack\n/wartime\n/turftimer\n/f\n/fdrugs\n/fmats\n/fdeposit\n/tie\n/untie","K","Q"); } else if(PlayerInfo[playerid][pMember] == 6) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX ,"The Cuneo Family","/order\n/attack\n/wartime\n/turftimer\n/f\n/fdrugs\n/fmats\n/fdeposit\n/tie\n/untie","K","Q"); } else if(PlayerInfo[playerid][pMember] == 7) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX ,"Mayor","/checkcharity\n/givecharity(Fara Abuz sau Fpk)","K","Q"); } else if(PlayerInfo[playerid][pMember] == { ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX ,"Tow Truck Company","/tow\n/towpoints","K","Q"); } else if(PlayerInfo[playerid][pMember] == 9) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX ,"News Reporter","/news\n/live\n/deliver\n/read\n/papers\n/paper","K","Q"); } else if(PlayerInfo[playerid][pMember] == 10) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX ,"The Paterno family","/order\n/attack\n/wartime\n/turftimer\n/f\n/fdrugs\n/fmats\n/fdeposit\n/tie\n/untie","K","Q"); } else if(PlayerInfo[playerid][pMember] == 11) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX ,"Hitman Agency","/portable\n/order","K","Q"); } else if(PlayerInfo[playerid][pMember] == 12) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX ,"Los Santos School Instructors","/givelicense\n/startlesson\n/stoplesson\n/acceptlic\n/closelic\n/clicense\n/license","K","Q"); } else if(PlayerInfo[playerid][pMember] == 13) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX ,"Los Santos Taxi","/accept\ntaxi\n/fare","K","Q"); } else if(PlayerInfo[playerid][pMember] == 14) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX ,"Paramedic","/healto","K","Q"); } } else { ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX ,"Server","You are not a faction member.","K","Q"); return 1; } return 1; } |
Quote:
else if(PlayerInfo[playerid][pMember] == 5) |