Hab ein paar probleme mit dem einfachsten was mann sich vorstellen kann undzwar dem hier
if(strcmp(cmdtext, "/enter", true) == 0)
{
if(PlayerInfo[playerid][pMember] = 2 PlayerInfo[playerid][pLeader] = 2) //8277
{
if PlayerToPoint(5,playerid,937.7752,1733.2845,8.8516)
*then
{
SetPlayerPos(playerid,246.375991,109.245994,1003.218750);
SetPlayerInterior(playerid,10);
SendClientMessage(playerid,COLOR_GREEN,"*** Willkommen im FBI Hauptquartier!");
return 1;
}
}
}
if(strcmp(cmdtext, "/exit", true) == 0)
{
if(PlayerInfo[playerid][pMember] = 2 PlayerInfo[playerid][pLeader] = 2)
{
if PlayerToPoint(5,playerid,246.375991,109.245994,1003.218750)
*then
{
SetPlayerPos(playerid,937.7752,1733.2845,8.8516);
SetPlayerInterior(playerid,0);
return 1;
}
}
}
ich hatte das in meinem anderen Script und dort hatt es geklappt aber jetzt geht nixmehr ich bekomme dann immer diese errors:
C:\Users\Robin\Desktop\samoserver\gamemodes\gf.pwn(8275) : warning 217: loose indentation
C:\Users\Robin\Desktop\samoserver\gamemodes\gf.pwn(8277) : warning 211: possibly unintended assignment
C:\Users\Robin\Desktop\samoserver\gamemodes\gf.pwn(8277) : warning 211: possibly unintended assignment
C:\Users\Robin\Desktop\samoserver\gamemodes\gf.pwn(8277) : error 022: must be lvalue (non-constant)
C:\Users\Robin\Desktop\samoserver\gamemodes\gf.pwn(8277) : warning 215: expression has no effect
C:\Users\Robin\Desktop\samoserver\gamemodes\gf.pwn(8277) : error 001: expected token: ";", but found ")"
C:\Users\Robin\Desktop\samoserver\gamemodes\gf.pwn(8277) : error 029: invalid expression, assumed zero
C:\Users\Robin\Desktop\samoserver\gamemodes\gf.pwn(8277) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Hoffe jemand kann mir helfen