Habs geschafft
Mods können dieses Thema schließen!
Hier die lösung (das hier bei public onplayerkeystatechange einfügen in meinem fall)
if(newkeys == KEY_SECONDARY_ATTACK)
{
//////Bsn Enter//////////
if(IsPlayerInRangeOfPoint(playerid,3,1199.5825,-918.7978,43.1161))
{
SetPlayerPos(playerid,364.8313,-74.7873,1001.5078);
SetPlayerInterior(playerid,10);
GameTextForPlayer(playerid,"~b~Burgershot North",2500,3);
}
///////////////BSN Ausgang///////////
if(IsPlayerInRangeOfPoint(playerid,3,362.8900,-75.1300,1001.5078))
{
SetPlayerPos(playerid,1199.1372,-920.8682,43.0291);
SetPlayerFacingAngle(playerid,26.7138);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
GameTextForPlayer(playerid,"~b~Los Santos",2500,3);
}
}if(newkeys == KEY_SECONDARY_ATTACK)
{
//////Bsn Enter//////////
if(IsPlayerInRangeOfPoint(playerid,3,1199.5825,-918.7978,43.1161))
{
SetPlayerPos(playerid,364.8313,-74.7873,1001.5078);
SetPlayerInterior(playerid,10);
GameTextForPlayer(playerid,"~b~Burgershot North",2500,3);
}
///////////////BSN Ausgang///////////
if(IsPlayerInRangeOfPoint(playerid,3,362.8900,-75.1300,1001.5078))
{
SetPlayerPos(playerid,1199.1372,-920.8682,43.0291);
SetPlayerFacingAngle(playerid,26.7138);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
GameTextForPlayer(playerid,"~b~Los Santos",2500,3);
}
}
PM falls ihr mir eine verbesserung vorschlagt
und oben die deklarationen usw. löschen (CREATEPICKUP IM GAMEINIT ABER LASSEN!!!)