Schon wieder ein Problem!
C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(17813) : error 028: invalid subscript (not an array or too many subscripts): "Vehicle"
C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(17813) : warning 215: expression has no effect
C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(17813) : error 001: expected token: ";", but found "]"
C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(17813) : error 029: invalid expression, assumed zero
C:\Users\Administrator\Desktop\LoH-SoL-WoS-Script\gamemodes\WoS.pwn(17813) : 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.
Hier der Befehl
new Vehicle;
new Float:X, Float:Y, Float:Z, Float:Rot;
if(strcmp(cmdtext,"/opark",true)==0)
{
if(IsPlayerInRangeOfPoint(playerid, 20.0, 884.5416,-1187.1437,16.9766))
if(PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24)
{
new file[256], name[24];
GetPlayerName(playerid, name, 24);
format(file,sizeof(file),"Auto/%s.ini",name);
//Hier das ist die rheie 17813 GetVehiclePos(Vehicle[playerid], X, Y, Z);
GetVehicleZAngle(Vehicle[playerid], Rot);
SetVehiclePos(Vehicle[playerid], X, Y, Z);
VehicleInfo[playerid][model] = GetVehicleModel(playerid);
VehicleInfo[playerid][CarX] = X;
VehicleInfo[playerid][CarY] = Y;
VehicleInfo[playerid][CarZ] = Z;
VehicleInfo[playerid][CarRot] = Rot;
SendClientMessage(playerid, GRÜN, "Das Fahrzeug wurde erfolgreich auf dem Verwahrplatz geparkt !");
}
else SendClientMessage(playerid,orange,"Du bist kein Ordnungsamt Mitarbeiter");
else SendClientMessage(playerid,orange,"Du bist nicht am Verwahrplatz!");
return 1;
}
Wie behebe ich das