SA-MP Flickering Black/White screen
#1

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.
Reply
#2

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.
Reply
#3

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] --
Reply
#4

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
Reply
#5

Check your server's gravity!
Reply
#6

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.
Reply
#7

This problem is caused because you don't have an addplayerclass in your gamemode.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)