Versuchs mal so.
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext,"/help",true)==0)
{
SendClientMessage(playerid,0xEBFF00FF,"/gotobsn , /restart ! Erste Befehle ,Deine Mutter stinkt ");
SendClientMessage(playerid,0xF50000FF,"David hör auf Sachsendie nomai :D");
return 1;
}
if(strcmp(cmdtext,"/gotobsn",true)==0)
{
SetPlayerPos(playerid,1218.0677,-919.8584,43.0938);
SendClientMessage(playerid,0x1E00FFFF,"Wilkommen am BSN");
return 1;
}
if(strcmp("/restart",cmdtext,true, 10) == 0)
{
SendClientMessage(playerid,0x00FF00FF,"Du Restartest den Server");
SendRconCommand("gmx");
return 1; //Hier bricht er dann ab
}
return 0;
}