19.03.2017, 12:08
hey guys i making aduty command i get to there no errors but when i in game i rcon login type /aduty this work but when i type /aduty to off it say lik on
what to do next
Код:
CMD:aduty(playerid,params[]) { if(IsPlayerAdmin(playerid) < 1) return SendClientMessage(playerid, 0x33AA33AA, "[BA:RP]Niste ovlasceni da koristite ovu komandu!"); { if(sscanf(params, "u")) return SendClientMessage(playerid, 0x33AA33AA, "[BA:RP]Koristi /aduty"); new name[ MAX_PLAYER_NAME]; GetPlayerName( playerid, name , MAX_PLAYER_NAME ); new string[45]; format(string, sizeof(string), " [BA:RP]Admin %s je na duznosti!",name); SendClientMessageToAll(0x33AA33AA, string); } return 1; }