White Screen When Login to Server
#1

This occurs when i Run the server.cfg when i use the name of my Pawno Compile file (AMX).
gamemode0 EM,pro 1
"EM,pro" is the name i Compiled the pawno,And while i'm running it and when i log into the server,it shows like this and the screen getting white after i click "Spawn" Button.
Is it because i dont have a Script to apply the password to login or something else?

Reply
#2

Do you have AddPlayerClass in your script ?
Reply
#3

Yeah i got
Reply
#4

Show it please.
Reply
#5

Why name the gamemode to something like that, lol.

try changing the gamemode name, see what happens.
Reply
#6

@MikE1990 ,I got AddPlayerClass in various PWN Files in Game Mode Folder
@Smileys ,I've tried with several names but the problem is still here.

And I've noticed the error name in the SAMP-Server Run,
it's Run time error 20: "Invalid index parameter (bad entry point)"
I've seen that error in the Run.
Reply
#7

While i was searching for a solution at ******,I've found how to fix that problem,it was to add Main() to the script,Now i dont see any error when i run the SAMP-Server,But i still get the White window problem and i dont get any box to include my password.
Reply
#8

Do you have
Code:
main() {   }
in your game mode ?
Reply
#9

Yeah Just Included it to the script,And it solved the error occurred in SAMP-Server Run,But the white screen problem is still can be seen
Reply
#10

This is caused by not having at least one proper class or by faulty world bounds, so check both.
Reply
#11

I will check my classes BTW what you mean by faulty world bounds?
Reply
#12

Use
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);

when some one register or login
Reply
#13

Quote:
Originally Posted by PhilippineGangsta
View Post
I will check my classes BTW what you mean by faulty world bounds?
It means that the place of class selection(or spawn) is far outside the world boundaries(far away from the normal San Andreas map)
Reply
#14

Quote:
Originally Posted by PhilippineGangsta
View Post
I got AddPlayerClass in various PWN Files in Game Mode Folder
You must add atleast 1 class (AddPlayerClass) in THAT gamemode, the rest have nothing to do with it.
Reply
#15

I will check the classes.BTW what is faulty world bound?
Reply
#16

I have checked the Classes very well and no mistakes in it,Also I've tried Reinstralling 0.3.7 Windows Server,But the error is still!! Any Solution please?
Reply
#17

Quote:
Originally Posted by Smileys
View Post
It means that the place of class selection(or spawn) is far outside the world boundaries(far away from the normal San Andreas map)
I think this is the problem for White Screen,It Shows "You're too far from the boundaries" or something when i get the White Screen,So how could i change my PlayerClass to,it's already within the world boundary i guess,

Code:
public OnGameModeInit()
{

 AddPlayerClass(0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
Reply
#18

Quote:
Originally Posted by PhilippineGangsta
View Post
I think this is the problem for White Screen,It Shows "You're too far from the boundaries" or something when i get the White Screen,So how could i change my PlayerClass to,it's already within the world boundary i guess,

Code:
public OnGameModeInit()
{

 AddPlayerClass(0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
Set everything to 0.
Reply
#19

Still the problem arises
Reply
#20

Is your gamemode new? Or does it already have a bunch of lines? But anyway, post it here if you do not mind.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)