Players are not moving
#4

Yea I put it return 0; somewhere

pawn Код:
public OnPlayerUpdate(playerid)
{
if(GetPlayerVirtualWorld(playerid)!=1)return 0;
new Float:health;
new veh;
veh = GetPlayerVehicleID(playerid);
GetVehicleHealth(veh, health);
if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
RepairVehicle(GetPlayerVehicleID(playerid));
}
return 1;
}
for the auto repair only on world 1 but i didnt think that it will mess up the other woorlds
Reply


Messages In This Thread
Players are not moving - by markjaysonpinoy - 19.07.2010, 14:33
Re: Players are not moving - by kc - 19.07.2010, 14:35
Re: Players are not moving - by ViruZZzZ_ChiLLL - 19.07.2010, 14:35
Re: Players are not moving - by markjaysonpinoy - 19.07.2010, 14:43
Re: Players are not moving - by kc - 19.07.2010, 14:52
Re: Players are not moving - by markjaysonpinoy - 19.07.2010, 14:59

Forum Jump:


Users browsing this thread: 3 Guest(s)