Hallo ich hatte nen error ich wollte mir ein admincar machen aber dan kam dieses error:
C:\Users\Phillip\Desktop\Selfmade\gamemodes\self.pwn(113) : error 017: undefined symbol "isPlayerAnAdmin"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
if(strcmp(cmdtext,"/admincar",true)==0)
{
if(!isPlayerAnAdmin(playerid,1))return SendClientMessage(playerid,COLOR_RED,"Du bist kein Admin!");
if(IsPlayerInAnyVehicle(playerid))return SendClientMessage(playerid,COLOR_RED,"Du musst zunächst aus deinem Fahrzeug!");
DestroyVehicle(admincar);
new Float:x,Float:y,Float:z,Float:a;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,a);
admincar=CreateVehicle(522,x,y,z,a,1,1,60);
SendClientMessage(playerid,COLOR_RED,"Admincar erstellt");
return 1;
}
return 1;