ocmd:gethere(playerid,params[])
{
if(Spieler[playerid][pAdmin] < 2){
return SendClientMessage (playerid,Rot,"Dazu musst du mindestens Supporter sein!");
}
new pID;
if(sscanf(params,"u",pID)){
return SendClientMessage (playerid,ROT,"ERROR: /gethere [ID/Name]");
}
if(!IsPlayerConnected(pID)){
return SendClientMessage (playerid,Rot,"Niemand ist online mit dieser ID!");
}
if(Spieler[playerid][pAdmin] < Spieler[pID][pAdmin]){
return SendClientMessage(playerid,Rot,"Du kannst das nicht bei Rang höheren Admins anwenden!");
}
new string[128],string2[128],aname[MAX_PLAYER_NAME],name[MAX_PLAYER_NAME];
GetPlayerName(pID,name,sizeof(name));
GetPlayerName(playerid,aname,sizeof(aname));
format(string,sizeof(string),"Du wurdest zu %s teleportiert!",aname);
format(string2,sizeof(string2),"Du hast %s zu dir geportet!",name);
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
SetPlayerPos(pID,x,y,z);
SendClientMessage(pID,Grün,string);
SendClientMessage(playerid,Gelb,string2);
return 1;
}
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(191) : error 017: undefined symbol "Spieler"
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(191) : warning 215: expression has no effect
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(191) : error 001: expected token: ";", but found "]"
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(191) : error 029: invalid expression, assumed zero
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(191) : fatal error 107: too many error messages on one line
191:
if(Spieler[playerid][pAdmin] < 2){