Whats wrong?
#1

Hey i Beta test my server with friends sometime but there is a problem when my friend logges in i see him but he is like AFK, after 20 sec or se he is in the next position, almost like teleported or so but he is actually moving, what to do?
Reply
#2

check if your OnPlayerUpdate is returning 1
Reply
#3

Quote:
Originally Posted by [HK]Ryder[AN]
Посмотреть сообщение
check if your OnPlayerUpdate is returning 1
Thanks, i had the automatic god mod there and forgot to put return 1; at the end, but can u help with 1 more thing? When i use chat i can see my text and others but they cant see theirs and stuff? This time its not because return..
I have admin mute things at OnPlayerText can that effect too?
Reply
#4

Show us the code.
Reply
#5

I have this under OnPlayerText

Код:
public OnPlayerText(playerid, text[])
{
	if(ismuted[playerid])
    {
        SendClientMessage(playerid, 0xFF00CC, "Sa oled muted!");
        return 0;
    }
    return 1;
}
Reply
#6

I've even faced this problem before. I thought it was a SA-MP malfunction. Well I was wrong and I found out the code to fix it after all.
Reply
#7

Change return 1; to

else return 1;

Then try that. Not sure if it will work, but it's worth a shot.
Reply
#8

Well tryed it dont know if it works yet..
Reply
#9

Nope the chat still doesnt work, i deleted the mute and just added return 1; But still...
Reply
#10

Anyone?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)