Major problem with spawning
#1

Hello guys i am having a problem with my spawning on my samp server.I changed every single coords for camera and setplayerpos and setspawninfo all the coords are changed,But when i join the server i got the camera and all that to be in fort carson but i am not spawning in fort carson i still keep on spawnings in los santos if you want to see what i mean here is the server ip you can try it.its 0.3x 99.140.80.61:7777

I know the coords are good because it changes the camera view in fort carson but wont change the spawn in fort carson.

Can someone please please help i would do anything just to get this fixed.
Reply
#2

well I got same problem as you, and I did this. I added this command and wrote it when I spawned, then I went to my gm, and search for SetPlayerPos(playerid, and coords here). I found that there is more than one line with same coordinates.
Код:
CMD:position(playerid, params[])
{
	new Float:x,Float:y,Float:z,string[128],Float:angle;
	GetPlayerPos(playerid, x,y,z);
	GetPlayerFacingAngle(playerid, angle);
	format(string, sizeof(string), "X coord is: %f", x);
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), "Y coord is: %f", y);
	SendClientMessage(playerid, COLOR_LIGHTGREEN, string);
	format(string, sizeof(string), "Z coord is: %f", z);
	SendClientMessage(playerid, COLOR_YELLOW, string);
	format(string, sizeof(string), "Your facing angle is: %f", angle);
	SendClientMessage(playerid, COLOR_LIGHTGREEN, string);
	return 1;
}
Reply
#3

Quote:
Originally Posted by dominik523
Посмотреть сообщение
well I got same problem as you, and I did this. I added this command and wrote it when I spawned, then I went to my gm, and search for SetPlayerPos(playerid, and coords here). I found that there is more than one line with same coordinates.
Код:
CMD:position(playerid, params[])
{
	new Float:x,Float:y,Float:z,string[128],Float:angle;
	GetPlayerPos(playerid, x,y,z);
	GetPlayerFacingAngle(playerid, angle);
	format(string, sizeof(string), "X coord is: %f", x);
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), "Y coord is: %f", y);
	SendClientMessage(playerid, COLOR_LIGHTGREEN, string);
	format(string, sizeof(string), "Z coord is: %f", z);
	SendClientMessage(playerid, COLOR_YELLOW, string);
	format(string, sizeof(string), "Your facing angle is: %f", angle);
	SendClientMessage(playerid, COLOR_LIGHTGREEN, string);
	return 1;
}

I know there is many lines like i said i changed every single line that had those coords for ls and i changed all of them to fort carson.but only my camera works in fort carson but i still spawn in ls
Reply
#4

I compiled it with no errors or warnings. I changed every line that has the setplayerpos,setspawninfo,setcamerpos,and all that but cant seem to have luck.I dont know what is wrong.I have tried everything so can someone please help me figure out.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)