SA-MP Forums Archive
'Stay within the world boundaries' - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 'Stay within the world boundaries' (/showthread.php?tid=268749)



'Stay within the world boundaries' - City of Santos: Roleplay - 13.07.2011

I've loaded my server to my host, ran it and it's all fine. I connect to it, login and the screen goes white and it says 'Stay within the World boundaries' and I can click buttons and type, but it all just over-laps each other. - What do I do? It's not me, it's the script.


Re: 'Stay within the world boundaries' - Gramercy Riffs - 13.07.2011

This happened to me a while ago. Check everything is correct in your server config.


Re: 'Stay within the world boundaries' - City of Santos: Roleplay - 13.07.2011

I've changed the spawn points to different ones, and I still get the error. My server.cfg is compeltely fine, too...


Re: 'Stay within the world boundaries' - Gramercy Riffs - 13.07.2011

It happened to me because I had an error in my gamemode, which I had compiled incorrectly on PAWN. Try and compile it again and check for errors. If you get one, then you'll have to fix it.

I can help too if you post it on here.


Re: 'Stay within the world boundaries' - City of Santos: Roleplay - 13.07.2011

I'm only getting warnings, and this is what they are:

Quote:

C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 490) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 492) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 493) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 507) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 523) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 536) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 8707) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 8715) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 8723) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 8731) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 8739) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 8747) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 8755) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 8763) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(3 2327) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(3 232 : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


16 Warnings.




Re: 'Stay within the world boundaries' - iggy1 - 13.07.2011

Find and delete/edit this function maybe, https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds


Re: 'Stay within the world boundaries' - City of Santos: Roleplay - 13.07.2011

Quote:
Originally Posted by iggy1
Посмотреть сообщение
Find and delete/edit this function maybe, https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds
I have no 'SetPlayerWorldBounds' in my script.


Re: 'Stay within the world boundaries' - sleepysnowflake - 13.07.2011

Dude, give us the warning lines.


Re: 'Stay within the world boundaries' - City of Santos: Roleplay - 13.07.2011

SetPlayerPos(playerid, 1685.8019,-2238.4919,13.5469); // Tutorial starts LS Airport
SetPlayerFacingAngle(playerid,179.9150);
SetPlayerCameraPos(playerid, 538.09, -2149.56, 62.86);
SetPlayerCameraLookAt(playerid, 534.63, -2145.95, 61.77);
SetPlayerPos(playerid, 1685.8019,-2238.4919,13.5469);
SetPlayerPos(playerid,2.7766,29.7590,1199.6012);
SetPlayerSkin(playerid,272);
{
}
}
}
{
}
}
{
file2 = fopen("/Bizfiles/dealercar.ini", io_write);

That's in order, from the first warning to the last. - Exactly what is on each line.


Re: 'Stay within the world boundaries' - [MG]Dimi - 13.07.2011

Quote:
Originally Posted by City of Santos: Roleplay
Посмотреть сообщение
I'm only getting warnings, and this is what they are:
Код:
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 490) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 492) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 493) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 507) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 523) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 536) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 8707) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 8715) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 8723) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 8731) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 8739) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 8747) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 8755) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(2 8763) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(3 2327) : warning 202: number of arguments does not match definition
C:\Users\Laura\Downloads\PLRP\gamemodes\vice.pwn(3 232 : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 Copyright © 1997-2006, ITB CompuPhase
Yeah only that. those warnings mean that you have more arguments in your function line. Like template is:
PHP код:
SetPlayerVirtualWorld(playerid,virtualworld); 
If you put
PHP код:
SetPlayerVirtualWorld(playerid,43,56); 
you'll get warnings.