19.07.2010, 14:33
I cant see players moving, is it a bug with my server scripts? i tried different gamemodes and it worked, except my server
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;
}