//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[Eject]=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
if(strcmp(cmd,"/eject",true)==0)
{
if(PlayerInfo[playerid][pAdmin] < 1) return DenyMessage(playerid, 1);
tmp = strtok(cmdtext, idx);
new otherplayer = strval(tmp);
otherplayer = ReturnUser(tmp);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_WHITE, "Benutze: /eject [ID]");
RemovePlayerFromVehicle(otherplayer);
SendClientMessage(otherplayer, COLOR_WHITE, "Du wurdest von einem Admin aus dem Fahrzeug geschmissen");
return 1;
}
}
Error: C:\Users\---\Desktop\Tweaks DM Server\filterscripts\V-Admin.pwn(4967) : warning 209: function "OnPlayerCommandText" should return a value