Hallo liebe Breadfisher , ich habe an einem neuen Befehl für die Yakuza zum Betretten und Verlassen der Base gescriptet nur ich bekomme immer wieder ein paar Error's und hab schon alles gecheckt.. ich hoffe das ihr mir helfen könnt.
} //Yakuza Drinnen
if(strcmp(cmd, "/yenter", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 6 PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,-2720.6685,-320.4479,7.8438))
{
SetPlayerPos(playerid,2018.5990,1017.7141,996.8750);
SetPlayerInterior(playerid,8);
SetPlayerVirtualWorld(playerid,4);
}
}
} //Yakuza draußen
if(strcmp(cmd, "/yexit", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,2018.5990,1017.7141,996.8750))
{
SetPlayerPos(playerid,-2720.6685,-320.4479,7.8438);
SetPlayerFacingAngle(playerid,43.1321);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
}
} Das hab ich gescriptet.
Zeile (15316) : warning 219: local variable "string" shadows a variable at a preceding level
Zeile (15324) : warning 219: local variable "string" shadows a variable at a preceding level
Zeile (27597) : error 001: expected token: ")", but found "-identifier-"
Zeile (27597) : warning 215: expression has no effect
Zeile (27597) : error 001: expected token: ";", but found ")"
Zeile (27597) : error 029: invalid expression, assumed zero
Zeile (27597) : fatal error 107: too many error messages on one line Und das sind die Error's.
Ich hoffe das ihr mir helfen könnt , vielen dankt im Vorraus!