29.03.2011, 05:13
I know it's prolly somthing simple but i'm having a brainfart at the moment
pawn Код:
if(dialogid == 25)
{
if(!response)
format(str, sizeof (str), "You have deposited %d in your bank account",inputtext);
SendClientMessage(playerid,COLOR_YELLOW,str);
PlayerInfo[playerid][pBank] = inputtext; //line 3139
GivePlayerCash(playerid, -inputtext); //line 3140
}
Код:
C:\Users\Server\Desktop\samp\gamemodes\newslrp.pwn(3139) : error 006: must be assigned to an array C:\Users\Server\Desktop\samp\gamemodes\newslrp.pwn(3140) : error 033: array must be indexed (variable "inputtext") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.