24.02.2017, 22:01
Si, aqui esta los errores y abajo las lineas:
Y asi en todos los CMD's, aca pongo un ejemplo de un CMD:
Код:
D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(26418) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(27093) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(27152) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(27833) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(27861) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(27872) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(27932) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(28223) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(28250) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(28280) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(28288) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(28322) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(28330) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(28363) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(28408) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(28471) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(28529) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(28537) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(28572) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(28580) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(28775) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(28829) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(28882) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(29194) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(29247) : error 047: array sizes do not match, or destination array is too small D:\db\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(29301) : error 047: array sizes do not match, or destination array is too small Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
Код:
(28322)tmp = strtok(cmdtext, idx); (28330)tmp = strtok(cmdtext, idx); (28363)tmp = strtok(cmdtext, idx); (28408)tmp = strtok(cmdtext, idx);
Код:
if(strcmp(cmd, "/explode", true) == 0) { tmp = strtok(cmdtext, idx); //Linea que tira error en todos los cmds if(!strlen(tmp) && PlayerInfo[playerid][pAdmin] >= 4) { SendClientMessage(playerid, COLOR_GREY, "/explode [Playerid]"); return 1; } giveplayerid = strval(tmp); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); if(IsPlayerConnected(giveplayerid)) { if(PlayerInfo[playerid][pAdmin] >= 4) { if(IsPlayerConnected(giveplayerid)) { new targetlevel = PlayerInfo[giveplayerid][pAdmin]; new playerlevel = PlayerInfo[playerid][pAdmin]; if(targetlevel > playerlevel) return SendClientMessage(playerid, COLOR_GREY, "* You can not ban People that is higher Than You!"); if(giveplayerid != playerid && Untouchable[giveplayerid]) return SendClientMessage(playerid, COLOR_GREY, "* You Can't Do this on This player!"); format(string, sizeof(string), "[ADMIN]: %s has exploded %s (%d).",sendername,giveplayer,giveplayerid); ABroadCast(COLOR_LIGHTRED,string, 5); format(string, sizeof(string), "You have Successfuly Exploded %s's (%d)",giveplayer,giveplayerid); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); format(string, sizeof(string), "Administrator %s Has Exploded You",sendername); SendClientMessage(giveplayerid, TEAM_GROVE_COLOR, string); new Float:boomx, Float:boomy, Float:boomz; GetPlayerPos(giveplayerid,boomx, boomy, boomz); CreateExplosion(boomx, boomy , boomz, 7, 1); new y, m, d; new h,mi,s; getdate(y,m,d); gettime(h,mi,s); format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s Has Exploded to %s",d,m,y,h,mi,s,sendername,giveplayer); ExplodeLog(string); if (PlayerInfo[giveplayerid][pAchievement12] == 0) { TextDrawSetString(Textdraw64[giveplayerid],"Congratulations! ~n~~n~You have earned the medal ~n~~b~Acme Dinamyte (12) ~n~~n~~w~you won ~g~$125"); ShowAchievement(giveplayerid); SafeGivePlayerMoney(giveplayerid,125); PlayerInfo[giveplayerid][pAchievement12] = 1; } } else { format(string, sizeof(string), "%d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_RED, string); } } else { SendClientMessage(playerid, COLOR_RED, "You do not have permission to use that command!"); } } else { SendClientMessage(playerid, COLOR_RED, "You Must be logged in to use this command!"); } return 1; }