Need quick help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need quick help (
/showthread.php?tid=219479)
Need quick help -
Swiftz - 01.02.2011
I made a interior map in interior id 9 with objects around 60. When some one enter it using pickup they just fall down it means the object dont load fast for them, Im using incognito streamer how can i fix this major problem please help
Re: Need quick help -
Steven Paul - 01.02.2011
same problem for me. I think it's because of the PING
Re: Need quick help -
Swiftz - 01.02.2011
Is it got anything to do with client/server pc performance
Re: Need quick help -
Steven Paul - 01.02.2011
yes. Because it does not happen every time. I don't think that there are any ways to fix it
Re: Need quick help -
Swiftz - 01.02.2011
Even my internet speed is very slow (server hosted in my pc)
Re: Need quick help -
Steven Paul - 01.02.2011
that's very annoying when it happen's. You can do one thing. When Player Enter's an interior freeze him for 5 seconds
Re: Need quick help - [L3th4l] - 01.02.2011
pawn Код:
OnPlayerPickup(...)
{
if(pickupid == yourpickup)
{
TogglePlayerControllable(playerid, 0);
SetTimerEx("Unfreeze", 5000, false, "i", playerid);
}
}
forward Unfreeze(iPlayer);
public Unfreeze(iPlayer)
{
return TogglePlayerControllable(playerid, 1);
}
Re: Need quick help -
Swiftz - 01.02.2011
Thanx everyone
Re: Need quick help -
Swiftz - 01.02.2011
L4thal when i compile it says undefined symbol playerid in the line return TogglePlayerControllable(playerid, 1);
}
Re: Need quick help -
xir - 01.02.2011
pawn Код:
OnPlayerPickup(...)
{
if(pickupid == yourpickup)
{
TogglePlayerControllable(playerid, 0);
SetTimerEx("Unfreeze", 5000, false, "i", playerid);
}
}
forward Unfreeze(iPlayer);
public Unfreeze(iPlayer)
{
return TogglePlayerControllable(iPlayer, 1);
}