heyho und zwar das keine einzige taste mehr bei mir funzt
hier ein command
if(newkeys == KEY_SECONDARY_ATTACK)
{
if(PlayerIsNearToEnterExit(playerid))
{
for(new i = 0; i <= sizeof(PickUps); i++)
{
if(PickUps[i] == StehtaufPickUp[playerid])
{
if(PickUpsCoords[i][Rueck] == false)
{
SetPlayerPos(playerid,PickUpsCoords[i+1][eX],PickUpsCoords[i+1][eY],PickUpsCoords[i+1][eZ]);
SetPlayerInterior(playerid,PickUpsCoords[i+1][interior]);
SetPlayerVirtualWorld(playerid,PickUpsCoords[i+1][Virtualworld]);
StehtaufPickUp[playerid] = -1;
}
else if(PickUpsCoords[i][Rueck] == true)
{
SetPlayerPos(playerid,PickUpsCoords[i-1][eX],PickUpsCoords[i-1][eY],PickUpsCoords[i-1][eZ]);
SetPlayerInterior(playerid,PickUpsCoords[i-1][interior]);
SetPlayerVirtualWorld(playerid,PickUpsCoords[i-1][Virtualworld]);
StehtaufPickUp[playerid] = -1;
}
}
}
}
}