Abend Community,
if(strcmp(cmd, "/garage", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 ||
PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
if(GetPlayerState(playerid == 1 && IsPlayerInRangeOfPoint(playerid,3.0,226.0206,183.8430,1003.0313))
{ <- Diese Klammer
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 1527.8934,-1677.9362,5.8906);
SetPlayerFacingAngle(playerid, 267.7393);
SendClientMessage(playerid, Gelb, "Du bist in der LSPD Tiefgarage.");
}
}
return 1;
}
mein befehl siehe oben warning:
C:\Users\Oliver - Kai\Desktop\LoH.pwn(15648) : error 001: expected token: ")", but found "{"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
ich finde dne fehler da nciht zeile 15648 ist eine Klammer