Moin Moin,
wollte nunmal nachfragen, wie ich das verstehen soll, das NewSpawn ( also Mitbew. aus d. USA , Europe etc )
gesetzt wird.
SetPlayerToTeamColor(playerid);
if(PlayerInfo[playerid][pOrigin] == 1)//USA
{
SetPlayerPos(playerid,-1985.9149,137.7800,27.6875);
SetPlayerFacingAngle(playerid, 46.8583);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else if(PlayerInfo[playerid][pOrigin] == 2)//Europe
{
SetPlayerPos(playerid,-1985.9149,137.7800,27.6875);
SetPlayerFacingAngle(playerid, 262.9963);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else if(PlayerInfo[playerid][pOrigin] == 3)//Asia
{
SetPlayerPos(playerid,-1985.9149,137.7800,27.6875);
SetPlayerFacingAngle(playerid, 272.3543);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
Wie kann ich nun das Umändern, also, Beispiel:
An:
GTA coordinates
X: 2110.396481156106
Y: 1918.7111366531426
( Angaben aus: http://gtamap.delux-host.com/live/# )
Gruß
robert