ocmd:auf(playerid,params[])
{
if(IsPlayerInRangeOfPoint(playerid,10,1027.1999512,1163.5000000,12.3999996))
{
if(IsPlayerInFrakt(playerid,1))||if(IsPlayerInFrakt(playerid,2))||if(IsPlayerInFrakt(playerid,3))
{
MoveObject(fbitor[0],1027.1999512,1163.5000000,12.3999996-10,5);
return 1;
}
return
}
return SendClientMessage(playerid,ROT,"Nicht in der Nähe von einem Tor.");
}
was ist da falsch die errors
C:\Users\Andreas\Desktop\samp\sampserver\gamemodes\test.pwn(281) : error 017: undefined symbol "IsPlayerInFrakt"
C:\Users\Andreas\Desktop\samp\sampserver\gamemodes\test.pwn(281) : error 029: invalid expression, assumed zero
C:\Users\Andreas\Desktop\samp\sampserver\gamemodes\test.pwn(281) : warning 215: expression has no effect
C:\Users\Andreas\Desktop\samp\sampserver\gamemodes\test.pwn(281) : error 001: expected token: ";", but found "if"
C:\Users\Andreas\Desktop\samp\sampserver\gamemodes\test.pwn(281) : fatal error 107: too many error messages on one line
Das IsPlayerInFrakt definiert ist
stock IsPlayerInFrakt(playerid,fraktid)
{
if(GetPVarInt(playerid,"Fraktion") == fraktid)return 1;
return 0;
}