04.04.2013, 11:44
i made a cmd..so if the player that enters taxi doesent have enough money to remove him from vehicle..i dosent work..can you help?i dont even know where to put it..
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(newstate == PLAYER_STATE_PASSENGER )
{
if(GetPlayerCash(i) > TransportCost[i])
{
RemovePlayerFromVehicle(i);
}
}
}