17.01.2014, 18:47
I created fuel system with dialog, but there is a problem.
When I write (for example: 5) it show "You cannot refuel your vehicle"
Here's the code:
When I write (for example: 5) it show "You cannot refuel your vehicle"
Here's the code:
pawn Код:
if(1 < strval(inputtext) || strval(inputtext) > 100) SendClientMessage(playerid, -1, "You cannot refuel your vehicle");
else
{
SendClientMessage(playerid, 0xFFFFFFFF, "You refueled your vehicle");
...
}