ich hab mal die sufu durchgestöbert und entweder bin ich zu blöd oder ich find nix
ich hab folgendes problem undzwar
ich habe 2 mal das selbe 24/7 Interior verwendet und lande komischer weise beim rausgehen immer am ausgang vom ersten?? was mache ich falsch??
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (newkeys & KEY_SECONDARY_ATTACK)
{
if(IsPlayerInRangeOfPoint(playerid,1.4, 1352.3562,-1759.2484,13.5078))//24/7 LS1 rein
{
SetPlayerPos(playerid, -26.5951,-188.2589,1003.5469);
SetPlayerFacingAngle(playerid,0.0000);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,17);
SetPlayerVirtualWorld(playerid, 1);
return 1;
}
if(IsPlayerInRangeOfPoint(playerid,1.4, -26.5951,-188.2589,1003.5469))//24/7 LS1 raus
{
SetPlayerPos(playerid, 1352.3562,-1759.2484,13.5078);
SetPlayerFacingAngle(playerid,0.7718);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid, 0);
SetCameraBehindPlayer(playerid);
return 1;
}
if(IsPlayerInRangeOfPoint(playerid,1.4, 1833.7821,-1842.6382,13.5781))//24/7 LS2 rein
{
SetPlayerPos(playerid, -26.5951,-188.2589,1003.5469);
SetPlayerFacingAngle(playerid,0.0000);
SetPlayerInterior(playerid,17);
SetPlayerVirtualWorld(playerid, 3);
SetCameraBehindPlayer(playerid);
return 1;
}
if(IsPlayerInRangeOfPoint(playerid,1.4, -26.5951,-188.2589,1003.5469))//24/7 LS2 raus
{
SetPlayerPos(playerid, 1833.7821,-1842.6382,13.5781);
SetPlayerFacingAngle(playerid,0.7718);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid, 0);
SetCameraBehindPlayer(playerid);
return 1;
}
}
return 1;
}