Sending a message to all while using /kill.
#6

Quote:
Originally Posted by Darnell
Посмотреть сообщение
On top ? I didn't understood, why not in the end ?
Remove this from ur script:
pawn Код:
COMMAND:kill( playerid, params[ ] )
{
    SetPlayerHealth(0)
    SendClientMessageToAll(0xDEEE20FF, string);
   
   return 1;
}
And add this one:
pawn Код:
COMMAND:kill( playerid, params[ ] )
{
    SetPlayerHealth(playerid,0.0);
    new name[ MAX_PLAYER_NAME ], string[ 50 ];
    GetPlayerName( playerid, name, MAX_PLAYER_NAME );
    format( string, sizeof( string ), "%s suicided!", name );
    SendClientMessageToAll( 0xDEEE20FF, string );
    return 1;
}
Quote:
Originally Posted by Grim_
Посмотреть сообщение
EDIT: ^ Don't give reputation to beggers ^
+1.
Reply


Messages In This Thread
Sending a message to all while using /kill. - by Darnell - 09.08.2011, 08:36
Re: Sending a message to all while using /kill. - by Chrillzen - 09.08.2011, 08:38
Re: Sending a message to all while using /kill. - by Grim_ - 09.08.2011, 08:42
Re: Sending a message to all while using /kill. - by Darnell - 09.08.2011, 08:43
Re: Sending a message to all while using /kill. - by grand.Theft.Otto - 09.08.2011, 08:47
Re: Sending a message to all while using /kill. - by HyperZ - 09.08.2011, 08:50
Re: Sending a message to all while using /kill. - by Grim_ - 09.08.2011, 08:51
Re: Sending a message to all while using /kill. - by Darnell - 09.08.2011, 08:57

Forum Jump:


Users browsing this thread: 1 Guest(s)