06.03.2015, 14:02
Code:
new value; 0.4 * inputtext = value; // ERROR GivePlayerMoney(playerid, value);
new value; 0.4 * inputtext = value; // ERROR GivePlayerMoney(playerid, value);
new value = 0.4 * strval(inputtext); // ERROR GivePlayerMoney(playerid, value);
new value = 0.4 * strval(inputtext);
new value;
value = 0.4 * strval(inputtext);
new hh[128], value; value = strval(inputtext) * 0.4; <=== TAG MISMATCH GivePlayerMoney(playerid, value);
new Float:value = strval(inputtext) * 0.4;
GivePlayerMoney(playerid, floatround(value, floatround_round));
if(!(1 <= strval(inputtext) <= 999999999)) return SendClientMessage(playerid, -1, "You must put a value between 1 and 999999999.");
if(strval(inputtext) >= 100 || strval(inputtext) <= 700)