Help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help (
/showthread.php?tid=172242)
Help -
bartje01 - 29.08.2010
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;
Re: Help -
Jeffry - 29.08.2010
pawn Код:
new ammount = strval(inputtext);
Cheers!
Re: Help -
bartje01 - 29.08.2010
A damn xD
Cheers xD Thankyouu
Re: Help -
Jeffry - 29.08.2010
No problem.