Ja hey leute,
Ich habe diese 4 Errors bekommen
Errors:
C:\Users\Basti\Desktop\Server\gamemodes\Selfmade.pwn(7571) : error 001: expected token: ")", but found "{"
C:\Users\Basti\Desktop\Server\gamemodes\Selfmade.pwn(7578) : error 017: undefined symbol "TelePos"
C:\Users\Basti\Desktop\Server\gamemodes\Selfmade.pwn(7578) : warning 215: expression has no effect
C:\Users\Basti\Desktop\Server\gamemodes\Selfmade.pwn(7578) : error 001: expected token: ";", but found "]"
C:\Users\Basti\Desktop\Server\gamemodes\Selfmade.pwn(7578) : error 029: invalid expression, assumed zero
C:\Users\Basti\Desktop\Server\gamemodes\Selfmade.pwn(7578) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Und die Zeilen:
if(strcmp(cmdtext, "/gotoblackcity", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(!isPlayerAnAdmin(playerid,3)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 108.2787,-4065.8923,11.8329);
SetPlayerFacingAngle(playerid, 270.8254);
LinkVehicleToInterior(tmpcar,0);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, 108.2787,-4065.8923,11.8329);
SetPlayerFacingAngle(playerid, 270.8254);
}
SendClientMessage(playerid, COLOR_GRAD1, " Du hast dich Teleportiert ");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Du bist kein Admin !");
}
}
return 1;
}
Ich bitte um schnelle hilfe