Код:
C:\Users\Oguz\Desktop\Yeni klasцr (4)\www.oyunformu.com\gamemodes\ibiza.pwn(29676) : warning 213: tag mismatch
C:\Users\Oguz\Desktop\Yeni klasцr (4)\www.oyunformu.com\gamemodes\ibiza.pwn(29676) : error 032: array index out of bounds (variable "PlayerInfo")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Код:
if(dialogid == CETE+31)
{
if(!response) return 1;
if(PlayerInfo[playerid][ceterutbeid] != 1)return Hatamesaj(playerid,-1,"Bu komutu kullanmak iзin Зete Lideri olmalısın!","To use this command, you must be a gang leader!");
if(response)
{
new Query[512];
if(!IsInvalidSkin(strval(inputtext)))return Dilmesaji(playerid,-1,"Hatalı skin id si.","Broken skin id.");
format(Query, sizeof(Query), "UPDATE `ceteler` SET `ceteskinl` = '%d' WHERE `ceteid` = '%d'",strval(inputtext),PlayerInfo[playerid][ceteid]);
mysql_query(Query);
SetPlayerSkin(playerid,PlayerInfo[ceteid][ceteskinl]);
// mysql_free_result();
if(PlayerInfo[playerid][language] == 2){
format(Query,sizeof Query,"{0049FF}«{FFFF00}®{0049FF}»{15FF00} Gang: {FFFFFF}The gang have made Leader skin {15FF00}%d{FFFFFF}.",strval(inputtext));
}else{
format(Query,sizeof Query,"{0049FF}«{FFFF00}®{0049FF}»{15FF00} Зete: {FFFFFF}Зete Lider skinini {15FF00}%d {FFFFFF}yaptınız.",strval(inputtext));
}
SendClientMessage(playerid,-1,Query);
}
}