ocmd:ask(playerid,params[])
{
new pID,input[54],string[128];
if(sscanf(params,"s",input))return SCM(playerid,-2,"Usage:/ask [question]");
format(string,sizeof(string),"User %s asked: %s",pID,input);
SendAdminMessage(Orange,string);
return 1;
}
Kreige errors wegen dem SendAdminMessage hier der stock vond em
stock SendAdminMessage(color, const message[], adminlevel)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IstSpielerAdmin(i, adminlevel))
{
SendClientMessage(i, color, const message[]);
}
}
}
Aber die parameter sind doch richtis oda ?