18.01.2013, 09:03
pawn Код:
if (inputtext > GetPlayerCash(playerid) || inputtext < 1)
if (inputtext > GetPlayerCash(playerid) || inputtext < 1)
array must be indexed (variable "inputtext") |
if (strval(inputtext) > GetPlayerCash(playerid) || strval(inputtext)< 1)
GivePlayerCash(playerid,-inputtext);
argument type mismatch (argument 2) |
GivePlayerCash(playerid,-strval(inputtext));
if (strval(inputtext) > GetPlayerCash(playerid) || strval(inputtext)< 1)
{
GivePlayerCash(playerid,-strval(inputtext));
// Do the stuff you want here.
return 1;
}