Am modificat oleaca comanda /help dar cand sa dau compilare/run imi da erorile astea:
C:\DOCUME~1\BogdaneL\MYDOCU~1\DOWNLO~1\gLanD\GAMEMO~1\gf.pwn(19011) : error 001: expected token: "-string end-", but found "-identifier-"
C:\DOCUME~1\BogdaneL\MYDOCU~1\DOWNLO~1\gLanD\GAMEMO~1\gf.pwn(19011) : error 017: undefined symbol "wh"
C:\DOCUME~1\BogdaneL\MYDOCU~1\DOWNLO~1\gLanD\GAMEMO~1\gf.pwn(19011) : warning 215: expression has no effect
C:\DOCUME~1\BogdaneL\MYDOCU~1\DOWNLO~1\gLanD\GAMEMO~1\gf.pwn(19011) : warning 215: expression has no effect
C:\DOCUME~1\BogdaneL\MYDOCU~1\DOWNLO~1\gLanD\GAMEMO~1\gf.pwn(19011) : error 001: expected token: ";", but found ")"
C:\DOCUME~1\BogdaneL\MYDOCU~1\DOWNLO~1\gLanD\GAMEMO~1\gf.pwn(19011) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Question
Tequila
Am modificat oleaca comanda /help dar cand sa dau compilare/run imi da erorile astea:
Si linia este:if(strcmp(cmd, "/help", true) == 0) { new str[2970]; format(string,2970,"%s"wh" ___________________________________________________________________________________________________\n",str); format(string,,2970,"%s"wh"|\t"color_red"Cont\t\t"wh"|\t"color_red"General \t"wh"|\t"color_red"General \t"wh"|\t"color_red"General \t"wh"|\t"color_red"Altele \t"wh"|\n",str); format(string,2970,"%s"wh"|___________________ |___________________ |___________________ |___________________ |___________________ |\n",str); format(string,2970,"%s"wh"|\t/stats\t\t|\t/pay\t\t|\t/cancel\t\t|\t/styles\t\t|\n",str); format(string,2970,"%s"wh"|\t/buylevel\t|\t/charity \t|\t/accept\t\t|\t/phonehelp\t|\n",str); format(string,2970,"%s"wh"|\t/upgrade\t|\t/time\t\t|\t/eject\t\t|\t/househelp\t|\n",str); format(string,2970,"%s"wh"|\t/changepass\t|\t/buy\t\t|\t/usedrugs\t|\t/members\t|\t/renthelp\t|\n",str); format(string,2970,"%s"wh"|\t\t\t|\t/contract\t|\t/showlicense\t|\t/bizzhelp\t|\n",str); format(string,2970,"%s"wh"|\t\t\t|\t/buygun \t|\t/fill\t\t| \t|\t/leaderhelp\t|\n",str); format(string,2970,"%s"wh"|\t\t\t|\t/lock\t\t|\t/fillcar\t\t|\t/givekey\t|\t/fishhelp\t|\n",str); format(string,2970,"%s"wh"|\t\t\t|\t/skill\t\t|\t/service\t|\t/switchkey\t|\t/cookhelp\t|\n",str); format(string,2970,"%s"wh"|\t\t\t|\t/portable\t|\t/families\t|\t/id\t\t|\t/irchelp \t|\n",str); format(string,2970,"%s"wh"|\t\t\t|\t/licenses\t|\t/fuel\t\t|\t/music\t\t|\t\t\t|\n",str); format(string,2970,"%s"wh"|\t\t\t|\t/lotto\t\t|\t/reporter\t|\t/clothes \t|\t\t\t|\n",str); format(string,2970,"%s"wh"|\t\t\t|\t/spawnchange |\t/needhelp\t |\t\t\t|\n",str); format(string,2970,"%s"wh"|\t\t\t|\t(wc)olor\t|\t(/n)ewbie\t|\t|\t\t\t|\n",str); format(string,2970,"%s"wh"|\t\t\t|\t/leaders\t|\t/animlist\t|\t\t\t|\n",str); format(string,2970,"%s"wh"|\t\t\t|\t/report\t\t|\t/factionlist\t|\t/glasses\t|\t\t\t|\n",str); format(string,2970,"%s"wh"|____________________|___________________ |_____________________|___________________ |____________________ |\n",str); if(PlayerInfo[playerid][pJob] >= 1 || PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pLeader] >= 1 || PlayerInfo[playerid][pHelper] >= 1 || PlayerInfo[playerid][pMember] >= 1){format(str,2970,"%s"wh"|\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t| \n",str);} if (PlayerInfo[playerid][pAdmin] >= 1){format(str,2970,"%s"wh"| "color_red"Admin "color_yellow"(1-1339)"wh": (/a)dmin (/ah)elp \t\t\t\t\t\t\t\t\t\t\t| \n",str);} if (PlayerInfo[playerid][pHelper] >= 1){format(str,2970,"%s"wh"| "color_red"Helper "color_yellow"(1-3)"wh": (/h)elper (/hh)elp \t\t\t\t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pJob] == 1){format(string,2970,"%s"wh"| "color_red"Job "color_yellow"(Detective)"wh": /find \t\t\t\t\t\t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pJob] == 2){format(string,2970,"%s"wh"| "color_red"Job "color_yellow"(Lawyer)"wh": /free \t\t\t\t\t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pJob] == 3){format(string,2970,"%s"wh"| "color_red"Job "color_yellow"(Whore)"wh": /selldrugs \t\t\t\t\t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pJob] == 4){format(string,2970,"%s"wh"| "color_red"Job "color_yellow"(DrugsDealer)"wh": /selldrugs /getdrugs /usedrugs \t| \n",str);} if(PlayerInfo[playerid][pJob] == 5){format(string,2970,"%s"wh"| "color_red"Job "color_yellow"(Car Jacker)"wh": /dropcar \t\t\t\t\t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pJob] == 7){format(string,2970,"%s"wh"| "color_red"Job "color_yellow"(Car Mechanic)"wh": /repair /refill /duty \t\t\t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pJob] == 8){format(string,2970,"%s"wh"| "color_red"Job "color_yellow"(Bodyguard)"wh": /guard \t\t\t\t\t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pJob] == 9){format(string,2970,"%s"wh"| "color_red"Job "color_yellow"(Arms Dealer)"wh": /materials /sellgun /givemats \t\t\t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pJob] == 10){format(string,2970,"%s"wh"| "color_red"Job "color_yellow"(Car Dealer)"wh": /sellcar \t\t\t\t\t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pJob] == 11){format(string,2970,"%s"wh"| "color_red"Job "color_yellow"(Boxer)"wh": /fight /boxstats \t\t\t\t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pJob] == 12){format(string,2970,"%s"wh"| "color_red"Job "color_yellow"(Bus Driver)"wh": /duty \t\t\t\t\t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pJob] == 13){format(string,2970,"%s"wh"| "color_red"Job "color_yellow"(Paper boy)"wh": /bring /sellpaper \t\t\t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pJob] == 15){format(string,2970,"%s"wh"| "color_red"Job "color_yellow"(Job Trucker)"wh": /load /buyprods /sellprods \t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pMember] == 11||PlayerInfo[playerid][pLeader] == 11){format(str,2970,"%s"wh"| "color_red"Faction "color_yellow"(School)"wh": /startlesson /stoplesson /givelicense \t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pMember] == 7||PlayerInfo[playerid][pLeader] == 7){format(str,2970,"%s"wh"| "color_red"Faction "color_yellow"(Mayor)"wh": /settax /givetax \t\t\t\t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pMember] == 10||PlayerInfo[playerid][pLeader] == 10){format(str,2970,"%s"wh"| "color_red"Faction "color_yellow"(Taxi)"wh": /fare (/f)amily \t\t\t\t\t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pMember] == 5||PlayerInfo[playerid][pLeader] == 5){format(str,2970,"%s"wh"| "color_red"Faction "color_yellow"(The Mafia)"wh": (/f)amily /tie /untie /leaders /sm \t\t\t\t| \n",str);} if(PlayerInfo[playerid][pMember] == 6||PlayerInfo[playerid][pLeader] == 6){format(str,2970,"%s"wh"| "color_red"Faction "color_yellow"(Yakuza)"wh": /tie /untie /f /leaders /sm \t\t\t\t| \n",str);} if(PlayerInfo[playerid][pMember] == 12||PlayerInfo[playerid][pLeader] == 12){format(str,2970,"%s"wh"| "color_red"Faction "color_yellow"(Bloods)"wh": /tie /untie /f /leaders /sm \t\t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pMember] == 13||PlayerInfo[playerid][pLeader] == 13){format(str,2970,"%s"wh"| "color_red"Faction "color_yellow"(Crips)"wh": /tie /untie /f /leaders /sm \t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pMember] == 14||PlayerInfo[playerid][pLeader] == 14){format(str,2970,"%s"wh"| "color_red"Faction "color_yellow"(Surenos)"wh": /fwarn /tie /untie /f \t\t\t\t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pMember] == 15||PlayerInfo[playerid][pLeader] == 15){format(str,2970,"%s"wh"| "color_red"Faction "color_yellow"(Nortenos)"wh": /fwarn /tie /untie /f \t\t\t\t\t\t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pMember] == 9||PlayerInfo[playerid][pLeader] == 9){format(str,2970,"%s"wh"| "color_red"Faction "color_yellow"(News Reporter)"wh": /paper /papers /live /news [text] \t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1|| PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2|| PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pLeader] == 3){format(str,2970,"%s"wh"| "color_red"Faction "color_yellow"(Police)"wh": /arrest /duty /wanted /cuff /tazer /jaillist /bk /bkc /equip /aswat /swat \t\t| \n",str);} if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1|| PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2|| PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pLeader] == 3){format(str,2970,"%s"wh"| \t\t /frisk /take /ticket (/gov)ernment /deliver /camera /ram /jaillist /bk /bkc /equip \t\t\t\t|\n",str);} if(PlayerInfo[playerid][pMember] == 4||PlayerInfo[playerid][pLeader] == 4){format(str,2970,"%s"wh"| "color_red"Faction "color_yellow"(Medic/Fireman)"wh": (/r)adio (/d)epartments /heal /duty \t\t\t\t\t\t| \n",str);} if(PlayerInfo[playerid][pJob] >= 1 || PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pLeader] >= 1 || PlayerInfo[playerid][pHelper] >= 1 || PlayerInfo[playerid][pMember] >= 1){format(str,2970,"%s"wh"|___________________________________________________________________________________________________ |\n",str);} ShowPlayerDialog( playerid, 1406, DIALOG_STYLE_MSGBOX, " ", str, "Iesi", "" ); return 1; }I can FLY
1 answer to this question
Recommended Posts