SA-MP Flickering Black/White screen -
Badman959 - 09.07.2011
So... the title kinda explains it but ill explain it in more depth,
I have downloaded some 'gm' off the ScriptPage on sa-mp.com, and when i try and load it by running 'sa-mp-server.exe' it seams to work fine untill i hit spawn, then Bang! screen goes all wierd like the black and white colours are bleeding into each other and also like the contrast is being turned up insanely, is there an easy fix for this error as i DO NOT get this error on any of my favourite servers like NG-RP, i have San Andreas v1.0 and Sa-mp {0.3c} installed too.
Re: SA-MP Flickering Black/White screen -
Mauzen - 09.07.2011
This happens when you teleport somewhere far away from the normal SA island. You will need to use other coordinates in your gamemode, better do not go beyond 3000, 3000, 3000 at all.
Re: SA-MP Flickering Black/White screen -
Badman959 - 10.07.2011
Quote:
Originally Posted by Mauzen
This happens when you teleport somewhere far away from the normal SA island. You will need to use other coordinates in your gamemode, better do not go beyond 3000, 3000, 3000 at all.
|
Thanks for the reply, Im still having the problem i think i found the correct part of the script, can you take a look please as this is really diffecult for me to understand as im just learning 'Pawn' language.
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
Also the link below is to a video, i recorded of my problem.
-- [ame]http://youtube.com/watch?v=sxOl8eh743E[/ame] --
Re: SA-MP Flickering Black/White screen -
Badman959 - 10.07.2011
I think i have sorted the problem by adding,
Quote:
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
|
To the ''OnGameModeInit;'', is this a good fix
Re: SA-MP Flickering Black/White screen -
freshOrange - 10.07.2011
Check your server's gravity!
Re: SA-MP Flickering Black/White screen -
Mauzen - 10.07.2011
Quote:
Originally Posted by Badman959
I think i have sorted the problem by adding,
To the ''OnGameModeInit;'', is this a good fix
|
Ah, yep this is okay. So the problem was that you had no classes at all, but every gamemode needs at least one.
Re: SA-MP Flickering Black/White screen -
SchurmanCQC - 10.07.2011
This problem is caused because you don't have an addplayerclass in your gamemode.