What is this?
#1

I have a little problem.

https://imgur.com/1tjPvJF

https://imgur.com/L83qd8c
Reply
#2

Yep, show your OnPlayerSpawn, and OnPlayerRequestClass code...


Being that you're spawned in blueberry, it seems like your spawn location, or class selection are messed.

The fact that you can't see your character in the selection window, also hints to something being wrong with your coordinates of the player location, or the selection camera. (Is it looking where you want it to look, or is that not where it was supposed to be?)


I also see you've restarted the server via RCON, is this what's leading to it? Did it work fine from a cold-start?
Reply
#3

OnPlayerRequestSpawn is empty and OnPlayerSpawn I have
Код:
if(IsFlyModeOn[playerid] == 1) 
	{
		StopFly(playerid);
		IsFlyModeOn[playerid] = 0;
		SetPlayerHealth(playerid, 99);
	}
	
    new string5[100], name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, name, sizeof(name));
	format(string5, sizeof(string5), "%s / ~r~EAGLES~w~.~w~SAPHIRE~w~.~r~RO", name);
	PlayerTextDrawSetString(playerid, NameTD, string5);
	PlayerTextDrawShow(playerid, NameTD);
Reply
#4

I have a gamemode from zero and I have problem with this from the beginning.
Reply
#5

Then it'll be your add class section.

What's happening in this spawn, is that you're not setting any place for them to spawn, which should also be under AddPlayerClass.

Your camera issue is related to OnPlayerRequestClass being empty.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)