#1

Hey guys. I'm making a bank dialog with withdraw. Got an error. What is wrong? xD

pawn Код:
if(dialogid == 100){
new ammount = inputtext;
if(response){

if(bank[playerid] >= ammount)
{


}
}
}
return 1;
}
Код:
C:\Users\Bart\Desktop\Rubenbart server\gamemodes\SunlightRPG.pwn(2173) : error 033: array must be indexed (variable "-unknown-")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Error line = new ammount = inputtext;
Reply
#2

pawn Код:
new ammount = strval(inputtext);

Cheers!
Reply
#3

A damn xD
Cheers xD Thankyouu
Reply
#4

No problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)