D1mka5592
Умник
Здравствуйте форумчане, сложились 3 вопроса!
1, Как сделать чтобы вместо Scope показывало Уровень (В TAB)
2, Не работают команды /d and /f пишет унковн команд.
+'сики дам)
Вот команды
---------- Post added at 21:56 ---------- Previous post was at 21:43 ----------
Закрываю.
1, Как сделать чтобы вместо Scope показывало Уровень (В TAB)
2, Не работают команды /d and /f пишет унковн команд.
+'сики дам)
Вот команды
PHP:
CMD:f(playerid, params[]){
if ( PLAYER [ playerid ] [ FRACID ] < 1 )return SendClientMessage ( playerid, COLOR_GRAY, "Вы нигде не состоите!" ) ;
if ( sscanf ( params, "s[128]", params [ 0 ] ) )return SendClientMessage ( playerid, COLOR_GRAY, "Ошибка! /f [text]" ) ;
new fid = ReturnFractionIndexForId ( PLAYER [ playerid ] [ FRACID ] ) ;
format ( string, sizeof string, "[F] %s[%d] %s: %s", PlayerName [ playerid ], playerid, FRACRANG [ fid ] [ PLAYER [ playerid ] [ RANK ] ], params [ 0 ] ) ;
SendToFractions ( 0x01FCFFC8, string, PLAYER [ playerid ] [ FRACID ] ) ;
return false;}
CMD:d(playerid, params[]){
if ( PLAYER [ playerid ] [ FRACID ] >= 7 )return SendClientMessage ( playerid, COLOR_GRAY, "Недоступно" ) ;
if ( sscanf ( params, "s[128]", params [ 0 ] ) )return SendClientMessage ( playerid, COLOR_GRAY, "Ошибка! /d [text]" ) ;
new fid = ReturnFractionIndexForId ( PLAYER [ playerid ] [ FRACID ] ) ;
format ( string, sizeof string, "[D] %s[%d] %s: %s", PlayerName [ playerid ], playerid, FRACRANG [ fid ] [ PLAYER [ playerid ] [ RANK ] ], params [ 0 ] ) ;
DepartmentChat(COLOR_ADM,string);
return false;}
---------- Post added at 21:56 ---------- Previous post was at 21:43 ----------
Закрываю.
