C:\Users\аод\Desktop\Server\gamemodes\benel2.pwn(3849) : error 033: array must be indexed (variable "DOF2_GetString")
C:\Users\аод\Desktop\Server\gamemodes\benel2.pwn(3850) : error 033: array must be indexed (variable "DOF2_GetString")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
if(!DOF2_GetString(PFile(playerid), "BankCode"))
if(DOF2_GetString(PFile(playerid), "BankCode"))
new PFile[128];
if(!DOF2_GetString(PFile, "BankCode"))
pawn Cуdigo:
if(DOF2_GetString(PFile, "BankCode"))
PHP код:
|
stock PFile(playerid)
{
new file[256];
format(file,sizeof(file),"UsersRL/%s.ini",GetName(playerid));
return file;
}
///is the respective CallBack
new file[256];
format(file,sizeof(file),"UsersRL/%s.ini",GetName(playerid));
if(!DOF2_GetString(file, "BankCode"))
if(DOF2_GetString(file, "BankCode"))
if(strcmp(!DOF2_GetString(PFile(playerid), "BankCode"))) return ShowPlayerDialog(playerid, Bank, Input, "чег сегй", "фтн шащерд щмк лап\nара длрс чег сегй ащш йщощ аеък мфтойн дбаеъ", "дба", "бйием");
if(strcmp(DOF2_GetString(PFile(playerid), "BankCode"))) return ShowPlayerDialog(playerid, Bank2, Input, "чег сегй", "длрс аъ дчег дсегй щмк", "дба", "бйием");
C:\Users\аод\Desktop\Server\gamemodes\benel2.pwn(3847) : warning 202: number of arguments does not match definition
C:\Users\аод\Desktop\Server\gamemodes\benel2.pwn(3848) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.