04.04.2013, 12:32
You shouuld have used < not >
ADD:Not sure why you used the loop, i just gave you the fix.
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(newstate == PLAYER_STATE_PASSENGER )
{
if(GetPlayerCash(i) < TransportCost[i])
{
RemovePlayerFromVehicle(i);
}
}
}