Ich brauche mal hilfe was da falsch?
if(strcmp(cmd, "/AInfernus",true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
{
new Float:x,Float:y,Float:z,Float:a;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,a);
infernus=CreateVehicle(411,x,y,z,a,1,1,60);
}
}
else
{
SendClientMessage(playerid,COLOR_GRAD1," Du bist kein Admin!");
}
}
if(strcmp(cmd, "/ASultan", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
{
new Float:x,Float:y,Float:z,Float:a;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,a);
sultan=CreateVehicle(560,x,y,z,a,1,1,60);
}
}
else
{
SendClientMessage(playerid,COLOR_GRAD1," Du bist kein Admin!");
}
}
if(strcmp(cmd, "/ANRG-500", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
{
new Float:x,Float:y,Float:z,Float:a;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,a);
nrg=CreateVehicle(522,x,y,z,a,1,1,60);
}
}
else
{
SendClientMessage(playerid,COLOR_GRAD1," Du bist kein Admin!");
}
}
if(strcmp(cmd, "/ABanshee", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
{
new Float:x,Float:y,Float:z,Float:a;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,a);
banshee=CreateVehicle(429,x,y,z,a,1,1,60);
}
}
else
{
SendClientMessage(playerid,COLOR_GRAD1," Du bist kein Admin!");
}
}
if(strcmp(cmd, "/ABullet", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
{
new Float:x,Float:y,Float:z,Float:a;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,a);
bullet=CreateVehicle(541,x,y,z,a,1,1,60);
}
}
else
{
SendClientMessage(playerid,COLOR_GRAD1," Du bist kein Admin!");
}
}
if(strcmp(cmdtext, "/AMaverick", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
{
new Float:x,Float:y,Float:z,Float:a;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,a);
maverick=CreateVehicle(487,x,y,z,a,1,1,60);
}
}
else
{
SendClientMessage(playerid,COLOR_GRAD1," Du bist kein Admin!");
}
}
Zeile (29519) : Unbekannte Variable : "infernus"
Zeile (29536) : Unbekannte Variable : "sultan"
Zeile (29553) : Unbekannte Variable : "nrg"
Zeile (29570) : Unbekannte Variable : "banshee"
Zeile (29587) : Unbekannte Variable : "bullet"
Zeile (29604) : Unbekannte Variable : "maverick"
Ich verstehe nicht was der fehler ist.