Interior

Započeo Skripter Propali, Maj 01, 2020, 19:19:08 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): //
Dio skripte:
if(IsPlayerInRangeOfPoint(playerid, 2.0, 1480.9457,-1771.4850,18.7958))
	{
	    SetPlayerPos(playerid, 2813.62500, -1685.09802, -9.91998);
	    SetCameraBehindPlayer(playerid);
	}
	if(IsPlayerInRangeOfPoint(playerid, 2.0,2813.62500, -1685.09802, -9.91998))
	{
	    SetPlayerPos(playerid, 2813.62500, -1685.09802, -9.9199);
	    SetPlayerFacingAngle(playerid, 177.7135);
	    SetCameraBehindPlayer(playerid);
	}

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): //
Slika/video ingame problema(obavezno ako je ingame problem): napravio sam interior i ubacio da se moze uci i izaci i nema errora ni warninga kada ocu da udzem u objekat u kojem je interior koji sam napravio nece da udje  moze pomoc?

if(IsPlayerInRangeOfPoint(playerid, 2.0,2813.62500, -1685.09802, -9.91998))
	{
	    SetPlayerPos(playerid, 2813.62500, -1685.09802, -9.9199);
	    SetPlayerFacingAngle(playerid, 177.7135);
	    SetCameraBehindPlayer(playerid);
	}


Prevod: Ako je igrac u range of pointa 2.0, na koordinatama 2813.62500, -1685.09802, -9.91998, uradi : Postavi mu koordinate 2813.62500, -1685.09802, -9.91998...

Sto znaci, postavlja ti koordinate na isto mesto gde si kliknuo dugme :D

if(IsPlayerInRangeOfPoint(playerid, 2.0, 1480.9457,-1771.4850,18.7958))
	{
	    SetPlayerPos(playerid, 2813.62500, -1685.09802, -9.91998);
	    SetCameraBehindPlayer(playerid);
	}
	if(IsPlayerInRangeOfPoint(playerid, 2.0,2813.62500, -1685.09802, -9.91998))
	{
	    SetPlayerPos(playerid, 1480.9457,-1771.4850,18.7958);
	    SetPlayerFacingAngle(playerid, 177.7135);
	    SetCameraBehindPlayer(playerid);
	}