- 0
Eroare ~ string end ~
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
RzV
Deci am vrut sa fac o comanda /help si mia dat cateva erori si nu am idee cum sa le rezolv :-??
if(strcmp(cmd, "/help", true) == 0) { if(IsPlayerConnected(playerid)) { new str[2640]; format(str,2640,"%s"color_red""wh"{009900}:: ACCOUNT :: /rules /stats /newpass /buylevel /upgrade\n",str); format(str,2640,"%s"color_red""wh"{009933}:: GENERAL :: /pay /charity /time /buy /unrentcar /unrentbike /switchkey /id /drink /clothes /opendoor(/od)\n",str); format(str,2640,"%s"color_red""wh"{009966}:: GENERAL :: /resetupgrades(50k) /buygun /lock /skill /licenses /showlicenses(/sl) /report /askq /animlist /stopanim /fuel\n",str); format(str,2640,"%s"color_red""wh"{009999}:: GENERAL :: (/re)port /cancel /accept /eject /usedrugs /contract /fill /admins /licensers /mymute\n",str); format(str,2640,"%s"color_red""wh"{0099CC}:: GENERAL :: /coin /give /sid /smoke\n",str); format(str,2640,"%s"color_red""wh"{33CCFF}:: CHAT :: (/p)me (/cw)hisper (/o)oc (/s)hout /low (/b) (/f)action /me /do /togooc /tognews /togfam /togpm /togphone\n",str); format(str,2640,"%s"color_red""wh"{00FFFF}:: BANK :: /balance /withdraw /deposit /wiretransfer\n",str); if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1) { format(str,2640,"%s"color_red""wh"{0066CC}:: LSPD :: (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /a(rrest)1,2,3 /duty /wanted /cuff /tazer\n",str); format(str,2640,"%s"color_red""wh"{0066CC}:: LSPD :: /frisk /take /ticket (/gov)ernment /deliver /camera /ram /aswat /dswat /swat\n",str); format(str,2640,"%s"color_red""wh"{0066CC}:: LSPD :: /undercover /copuntie /backup /backupclear /jaillist /move1 ( 1 , 2 , 3 ) /getincar\n",str); } if(PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 2) { format(str,2640,"%s"color_red""wh"{0066CC}:: FBI :: (/r)adio (/d)epartments (/m)egaphone (/su)spect /a(rrest)1,2,3 /mdc /wanted /cuff /tazer /a(rrest)1,2,3 /move1 ( 1 , 2 , 3 )\n",str); format(str,2640,"%s"color_red""wh"{0066CC}:: FBI :: /frisk /take /ticket (/gov)ernment /deliver /camera /ram /copuntie /backup /backupclear /jaillist /getincar\n",str); } if(PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 3) { format(str,2640,"%s"color_red""wh"{0066CC}:: NG :: (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /a(rrest)1,2,3 /wanted /cuff /tazer\n",str); format(str,2640,"%s"color_red""wh"{0066CC}:: NG :: /frisk /take /ticket (/gov)ernment /deliver /camera /ram /jaillist /a(rrest)1,2,3 /getincar /move1 ( 1 , 2 , 3 )\n",str); } if(PlayerInfo[playerid][pJob] == 1) { format(str,2640,"%s"color_red""wh":: JOB :: /find\n",str); } else if(PlayerInfo[playerid][pJob] == 2) { format(str,2640,"%s"color_red""wh":: JOB :: /free\n",str); } else if(PlayerInfo[playerid][pJob] == 3) { format(str,2640,"%s"color_red""wh":: JOB :: /sex\n",str); } else if(PlayerInfo[playerid][pJob] == 4) { format(str,2640,"%s"color_red""wh":: JOB :: /usedrugs /get drugs /selldrugs\n",str); } else if(PlayerInfo[playerid][pJob] == 5) { format(str,2640,"%s"color_red""wh":: JOB :: /dropcar\n",str); } else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) { format(str,2640,"%s"color_red""wh":: JOB :: /paper /papers /live /news [text]\n",str); } else if(PlayerInfo[playerid][pJob] == 7) { format(str,2640,"%s"color_red""wh":: JOB :: /repair /refill /duty\n",str); } else if(PlayerInfo[playerid][pJob] == 8) { format(str,2640,"%s"color_red""wh":: JOB :: /guard\n",str); } else if(PlayerInfo[playerid][pJob] == 9) { format(str,2640,"%s"color_red""wh":: JOB :: /materials /sellgun\n",str); } else if(PlayerInfo[playerid][pJob] == 10) { format(str,2640,"%s"color_red""wh":: JOB :: /sellcar\n",str); } else if(PlayerInfo[playerid][pJob] == 11) { format(str,2640,"%s"color_red""wh":: JOB :: /heal\n",str); } else if(PlayerInfo[playerid][pJob] == 12) { format(str,2640,"%s"color_red""wh":: JOB :: /fight /boxstats\n",str); } else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10|| PlayerInfo[playerid][pJob] == 14) { format(str,2640,"%s"color_red""wh":: JOB :: /fare\n",str); } else if(PlayerInfo[playerid][pJob] == 15) { format(str,2640,"%s"color_red""wh":: JOB :: /papers /bring /deliver\n",str); } else if(PlayerInfo[playerid][pJob] == 16) { format(str,2640,"%s"color_red""wh":: JOB :: /buyprods /sellprods /load\n",str); } else if(PlayerInfo[playerid][pJob] == 17) { format(str,2640,"%s"color_red""wh":: JOB :: /duty /sellpizza\n",str); } else if(PlayerInfo[playerid][pJob] == 18) { format(str,2640,"%s"color_red""wh":: JOB :: /startharvest /stopharvest\n",str); } else if(PlayerInfo[playerid][pJob] == 19) { format(str,2640,"%s"color_red""wh":: JOB :: /startdrugharvest /stopdrugharvest\n",str); } else if(PlayerInfo[playerid][pJob] == 20) { format(str,2640,"%s"color_red""wh":: JOB :: /get drugs /selldrugs\n",str); } else if(PlayerInfo[playerid][pJob] == 21) { format(str,2640,"%s"color_red""wh":: JOB :: /startsweep /stopsweep\n",str); } else if(PlayerInfo[playerid][pJob] == 22) { format(str,2640,"%s"color_red""wh":: JOB :: /smugglemats\n",str); } else if(PlayerInfo[playerid][pJob] == 23) { format(str,2640,"%s"color_red""wh":: JOB :: /creategun /buymats\n",str); } else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) { format(str,2640,"%s"color_red""wh"{FF0033}:: HITMAN :: /portable\n",str); } if(PlayerInfo[playerid][pMember] == 11||PlayerInfo[playerid][pLeader] == 11||PlayerInfo[playerid][pMember] == 12||PlayerInfo[playerid][pLeader] == 12){ format(str,2640,"%s"color_red""wh"{00FFFF}:: LESSON :: /startlesson /stoplesson /givelicense\n",str); } if (gTeam[playerid] == 1 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4) { format(str,2640,"%s"color_red""wh"{FF00FF}:: LSPD :: (/r)adio (/d)epartments /heal /duty /tracelastcall(/tlc)\n",str); } if (PlayerInfo[playerid][pAdmin] >= 1) { format(str,2640,"%s"color_red""wh"{0000FF}:: ADMIN :: (/a)dmin (/ah)elp\n",str); } format(str,2640,"%s"color_red""wh"{CCFFFF}:: OTHER :: /cellphonehelp /househelp /notehelp /vehiclehelp /renthelp /businesshelp /leaderhelp /fishhelp /cookhelp /irchelp\n",str); ShowPlayerDialog( playerid, 6518, DIALOG_STYLE_MSGBOX, " ", str, "Exit", "" ); } return 1; }Erorile & Warningurile sunt urmatoarele : Linia la care imi dau erorile si warningurile este :format(str,2640,"%s"color_red""wh"{009900}:: ACCOUNT :: /rules /stats /newpass /buylevel /upgrade\n",str);PS: Daca sterg linia asta imi da la urmatoarea linie fiind :format(str,2640,"%s"color_red""wh"{009933}:: GENERAL :: /pay /charity /time /buy /unrentcar /unrentbike /switchkey /id /drink /clothes /opendoor(/od)\n",str);6 answers to this question
Recommended Posts