[HELP] fix bug on blueberry Acres
#1

why my new log every spawn in BB? immediately after the crash?
how to fix it?





sorry for bad my english.
Reply
#2

Is it your server or someone else's?

If that's yours, try deleting your registration file from scriptfiles folder.
Reply
#3

I've tried many times but still remove bugs and crashes in BB
Reply
#4

You mean when you crash, you spawn at blueberry spawn?
Fix onplayerdisconnect (saving positions).
Also you can make a function onplayerupdate.
Save their data every second. (Only last pos, or you will lag alot).
Reply
#5

I do not understand: 3, I am a newbie scripter
Reply
#6

Show us your OnPlayerConnect(playerid) callback.
Than we may be able to help

Greetings,
UnknownOwner
Reply
#7

public OnPlayerConnect(playerid)
{

no callbacks do onplayerconnect, there are only a few removebuilding [map]
Reply
#8

Then try this under OnPlayerSpawn callback:
https://sampwiki.blast.hk/wiki/SetPlayerPos

And make sure the positions aren't "0,0,0.2" as they are in blueberry, which would obviously cause crash!

Regards,
UnknownOwner.
Reply
#9

Or a simpler way would be detecting if the players coords are 0.0, 0.0, 0.0 when they spawn. if they are, set their coords to another place.
Reply
#10

hemm okey thanks all
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)