inputtext problem
#1

pawn Код:
if(dialogid == 4){
    if(inputtext > DOF2_GetInt(pFile(playerid),"Money")){SendClientMessage(playerid,COLOR_DENIED,"[ERROR] {FF6969}You don't have this ammount of money"); return 1;}
    DOF2_SetString(pFile(playerid),"Bank",inputtext); DOF2_SetString(pFile(playerid),"Money",-inputtext);}
    return 1;}
problem: array must be indexed (variable "inputtext")

the error line:
pawn Код:
if(inputtext > DOF2_GetInt(pFile(playerid),"Money")){SendClientMessage(playerid,COLOR_DENIED,"[ERROR] {FF6969}You don't have this ammount of money"); return 1;}
Reply


Messages In This Thread
inputtext problem - by Lirbo - 17.05.2014, 19:19
Re: inputtext problem - by Stinged - 17.05.2014, 19:53
Re: inputtext problem - by Lirbo - 17.05.2014, 20:00
Re: inputtext problem - by awsomedude - 17.05.2014, 20:08
Re: inputtext problem - by Patrick - 17.05.2014, 20:10
Re: inputtext problem - by Stinged - 17.05.2014, 20:53

Forum Jump:


Users browsing this thread: 1 Guest(s)