SA-MP Forums Archive
Stay Within The World Boundariesq - 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)
+--- Thread: Stay Within The World Boundariesq (/showthread.php?tid=402496)



Stay Within The World Boundariesq - Luke_James - 26.12.2012

This is getting on my tits now, I don't see what's wrong, my script was working flawlessly a few months ago, I come away from SA-MP for a while and when I return it all of a sudden just stops working; whenever I load up my server I just get this error. All plugins and pawno are completely up to date, I have no idea what it could be.. I have all the necessary things such as OnPlayerConnect/Spawn and AddPlayerClass stuff.

My server doesn't show a mode though, it just says "Unknown". Perhaps this could be the issue? It loads the script as it shows the server welcome message, but when I click spawn it just errors. I am using SQL but I don't see how this is an issue either; it's all configured correctly and I have the plugin.. any help please?


Re: Stay Within The World Boundariesq - Faisal_khan - 27.12.2012

Check your script if you have this function.
SetPlayerWorldBounds


Re: Stay Within The World Boundariesq - Lordzy - 27.12.2012

Does it comes when you get spawned? Well then it's probably a problem from your class. Or there might be any function called 'SetPlayerWorldBounds'.


Re: Stay Within The World Boundariesq - Faisal_khan - 27.12.2012

Yeah and make sure you have this under OnGameModeInit
pawn Код:
AddPlayerClass(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);



Re: Stay Within The World Boundariesq - zDevon - 27.12.2012

If either AddPlayerClass or SetSpawnInfo are not used anywhere within the script, this will happen.