C:\Users\Brandon\Desktop\[GER]TheLostofReallife[0.3e]\gamemodes\Reallife.pwn(677) : error 017: undefined symbol "adminveh"
C:\Users\Brandon\Desktop\[GER]TheLostofReallife[0.3e]\gamemodes\Reallife.pwn(677) : warning 215: expression has no effect
C:\Users\Brandon\Desktop\[GER]TheLostofReallife[0.3e]\gamemodes\Reallife.pwn(677) : error 001: expected token: ";", but found "]"
C:\Users\Brandon\Desktop\[GER]TheLostofReallife[0.3e]\gamemodes\Reallife.pwn(677) : error 029: invalid expression, assumed zero
C:\Users\Brandon\Desktop\[GER]TheLostofReallife[0.3e]\gamemodes\Reallife.pwn(677) : 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.
ocmd:adminauto(playerid,params[])
{
new Float:x,Float:y, Float:z;
new Text3D:supportveh[MAX_VEHICLES];
new c1,c2,vid;
if(sscanf(params,"iii",vid,c1,c2))return SendClientMessage(playerid,DUNKELROT,"[System]Benutze die Verwendung : /Adminauto [CARID] [FARBE1] [FARBE2]");
{
if(vid<402||vid>603)return SendClientMessage(playerid,DUNKELROT,"[System]Du hast eine Ungültige Fahrzeug-ID eingegeben !");
{
GetPlayerPos(playerid,x,y,z);
new car;
SetVehicleNumberPlate(car = CreateVehicle(vid,x,y,z,3,c1,c2,-1),"Administrator");
PutPlayerInVehicle(playerid,car,0);
SendClientMessage(playerid,DUNKELROT,"[Admin]Du hast dein Administrator-Auto erfolgreich gespawnt !");
adminveh[car] = Create3DTextLabel("Administrator",BSNE,0.0,0.0,0.0,50.0,0,1);//Diese Zeile !
Attach3DTextLableToVehicle(adminveh[car],car,0.0,0.0,2.0);
return 1;
}
else
{
SendClientMessage(playerid,DUNKELROT,"[System]Du bist nicht berechtigt diesen Befehl zu benutzen !");
return 1;
}
}
}