01.05.2018, 16:17
Para ele verificar se a conta do player esta banido
Erro
Quote:
if(!response) Kick(playerid); if(response){ new file[64]; GetPlayerName(playerid,file,sizeof(file)); format(file,sizeof(file),Banidos, file); new uname[64], pname[64], motivo[64]; uname = DOF2_GetString (file, "Nick do Banido"); pname = DOF2_GetString (file, "Nick do Responsavel"); motivo = DOF2_GetString (file, "Motivo"); if(DOF2_FileExists(file)){ new string[128]; format (string, sizeof(string), "{FFFFFF}Nick: {FF0000}%s\n{FFFFFF}Responsavel: {FF0000}%s\n{FFFFFF}Motivo: {FF0000}%s", uname, pname, motivo); } |
Quote:
C:\Users\k2bi\Desktop\server\gamemodes\def.pwn(258 ) : error: 047: array sizes do not match, or destination array is too small C:\Users\k2bi\Desktop\server\gamemodes\def.pwn(258 ) : error: 047: array sizes do not match, or destination array is too small C:\Users\k2bi\Desktop\server\gamemodes\def.pwn(258 ) : error: 047: array sizes do not match, or destination array is too small |