Server Problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Server Problem (
/showthread.php?tid=473121)
Server Problem -
AryanV - 01.11.2013
In My Server...there is a problem and that is:-
When i am moving..In other players screen it appears that i am stanging in one place but in acutally i am moving...and in my screen if other players are moving...it shows that they are standing at one place....
Help Me
Re: Server Problem -
Konstantinos - 01.11.2013
OnPlayerUpdate callback should NOT return 0 because that'll be the result.
Re: Server Problem -
AryanV - 02.11.2013
My Server Is lagging..What should i do..
Re: Server Problem -
AryanV - 02.11.2013
How to do that Konstantinos
Re: Server Problem - Astralis - 02.11.2013
Quote:
Originally Posted by AryanV
My Server Is lagging..What should i do..
|
check if there arent any timers at onplayerupdate.
Re: Server Problem -
AryanV - 02.11.2013
Код:
public OnPlayerUpdate(playerid)
{
if(!IsPlayerConnected(playerid)) return 0;
// No weapons in interiors
if(GetPlayerInterior(playerid) != 0 && GetPlayerWeapon(playerid) != 0) {
SetPlayerArmedWeapon(playerid,0); // fists
return 0; // no syncing until they change their weapon
}
return 1;
}
This is the line that is wriiten in the gamemode....What should i do
Re: Server Problem -
AryanV - 02.11.2013
Reply Plz