error 004: function "OnPlayerCommandPerformed" is not implemented
#1

help me with error 004: function "OnPlayerCommandPerformed" is not implemented

pawn Код:
CMD:radio(playerid,params[])
{
  if(IsPlayerAdmin(playerid))
   {
    new idx;
    new tmp[256];
    tmp = strtok(params,idx);
    if(strlen(params) > 0) return SendClientMessage(playerid, -1, "bad url");
    if(strlen(params) > 1) return SendClientMessage(playerid, -1, "bad url");
    if(strlen(params) > 2) return SendClientMessage(playerid, -1, "bad url");
    if(strlen(params) > 3) return SendClientMessage(playerid, -1, "bad url");
    if(strlen(params) > 4) return SendClientMessage(playerid, -1, "bad url");
    if(strlen(params) > 5) return SendClientMessage(playerid, -1, "bad url");
    if(strlen(params) > 6) return SendClientMessage(playerid, -1, "bad url");
    if(strlen(params) > 7) return SendClientMessage(playerid, -1, "bad url");
    if(strlen(tmp) == 0) return SendClientMessage(playerid, -1, "/radio (url)");
    PlayAudioStreamForAll(tmp);
    return 1;
    }
    else OnPlayerCommandPerformed(playerid, "/radios");
    return 1;
}
help me pls
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)