Server Problem
#1

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
Reply
#2

OnPlayerUpdate callback should NOT return 0 because that'll be the result.
Reply
#3

My Server Is lagging..What should i do..
Reply
#4

How to do that Konstantinos
Reply
#5

Quote:
Originally Posted by AryanV
Посмотреть сообщение
My Server Is lagging..What should i do..
check if there arent any timers at onplayerupdate.
Reply
#6

Код:
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
Reply
#7

Reply Plz
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)