Moin, hab nen kleines Problem x'D.
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newskey == KEY_YES) // Betreten
{
if(IsPlayerInRangeOfPoint(playerid,5,2273.6389,82.0438,26.4844));
{
SetPlayerPos(playerid,384.808624,173.804992,1008.382812);
SetPlayerInterior(playerid,3);
}
}
if(newskey == KEY_NO) // Verlassen
{
if(IsPlayerInRangeOfPoint(playerid,5,384.808624,173.804992,1008.382812));
{
SetPlayerPos(playerid,2273.6389,82.0438,26.4844);
SetPlayerInterior(playerid,0);
}
}
return 1;
}
Dabei tauchen folgende Errors auf >-<
C:\Users\Dominik\Desktop\Creative RealLife\gamemodes\bare.pwn(921) : error 017: undefined symbol "newskey"
C:\Users\Dominik\Desktop\Creative RealLife\gamemodes\bare.pwn(923) : error 036: empty statement
C:\Users\Dominik\Desktop\Creative RealLife\gamemodes\bare.pwn(930) : error 017: undefined symbol "newskey"
C:\Users\Dominik\Desktop\Creative RealLife\gamemodes\bare.pwn(932) : error 036: empty statement
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.