remove ircpm from cmd list

This commit is contained in:
Lorenc Pekaj 2018-11-24 03:58:41 +11:00
parent 717f38f073
commit 688d5b9a3f
2 changed files with 12 additions and 2 deletions

View File

@ -69,6 +69,17 @@ hook OnPlayerUpdateEx( playerid )
return 1; return 1;
} }
hook OnPlayerDriveVehicle( playerid, vehicleid )
{
new
modelid = GetVehicleModel( vehicleid );
if ( modelid == 416 ) {
ShowPlayerHelpDialog( playerid, 2500, "You will make money by ~g~healing~w~ passengers of the vehicle" );
}
return 1;
}
/*hook OnPlayerDisconnect( playerid, reason ) /*hook OnPlayerDisconnect( playerid, reason )
{ {
p_HealDealer[ playerid ] = INVALID_PLAYER_ID; p_HealDealer[ playerid ] = INVALID_PLAYER_ID;

View File

@ -8666,8 +8666,7 @@ public OnDialogResponse( playerid, dialogid, response, listitem, inputtext[ ] )
""COL_GREY"/me{FFFFFF} - Sends a message based action with yourself.\n"\ ""COL_GREY"/me{FFFFFF} - Sends a message based action with yourself.\n"\
""COL_GREY"/pm{FFFFFF} - Sends a private message to a specified player.\n"\ ""COL_GREY"/pm{FFFFFF} - Sends a private message to a specified player.\n"\
""COL_GREY"/r{FFFFFF} - Responds to the latest person you messaged.\n"\ ""COL_GREY"/r{FFFFFF} - Responds to the latest person you messaged.\n"\
""COL_GREY"/dnd(all){FFFFFF} - Toggles access of receiving PM's from a specified/or all player(s).\n"\ ""COL_GREY"/dnd(all){FFFFFF} - Toggles access of receiving PM's from a specified/or all player(s).\n" );
""COL_GREY"/ircpm{FFFFFF} - Sends a message to the IRC channel.\n" );
strcat( szCMDS, ""COL_GREY"/(w)hisper{FFFFFF} - Whisper to nearby players." ); strcat( szCMDS, ""COL_GREY"/(w)hisper{FFFFFF} - Whisper to nearby players." );
ShowPlayerDialog( playerid, DIALOG_CMDS_REDIRECT, DIALOG_STYLE_MSGBOX, "{FFFFFF}Main Commands", szCMDS, "Okay", "Back" ); ShowPlayerDialog( playerid, DIALOG_CMDS_REDIRECT, DIALOG_STYLE_MSGBOX, "{FFFFFF}Main Commands", szCMDS, "Okay", "Back" );