Moin Moin, Erstmal die Scriptzeilen
ocmd:drivein(playerid,params[])
{
if(IsPlayerInRangeOfPoint(playerid,1.5,800.5797,-1629.3390,13.382) IsPlayerInRangeOfPoint(playerid,1.5,1211.0767,-905.0279,42.9283) && IsPlayerInAnyVehicle(playerid))
{
if(PlayerHatBestellt[playerid] == 0)
{
ClearChatbox(playerid, 10);
SendClientMessage(playerid,COLOR_ORANGE,"Ihre Bestellung wurde aufgenommen und wird zubereitet.");
TogglePlayerControllable(playerid, 0);
SetTimerEx("Driveinistfertig",5000,0,"playerid",playerid);
GivePlayerMoney(playerid, -35);
PlayerHatBestellt[playerid] = 1;
return 1;
}
return 1;
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "Du bist nicht am DriveIn-Schalter oder sitzt in keinem Auto.");
}
return 1;
}
C:\Users\Tom\Desktop\YsL\YsL\gamemodes\GnE.pwn(1138) : error 029: invalid expression, assumed zero
C:\Users\Tom\Desktop\YsL\YsL\gamemodes\GnE.pwn(1138) : error 017: undefined symbol "ocmd_drivein"
C:\Users\Tom\Desktop\YsL\YsL\gamemodes\GnE.pwn(1138) : error 029: invalid expression, assumed zero
C:\Users\Tom\Desktop\YsL\YsL\gamemodes\GnE.pwn(1138) : 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.
das Rot Markierte sind die Errors