09.08.2011, 08:50
Remove this from ur script:
And add this one:
+1.
pawn Код:
COMMAND:kill( playerid, params[ ] )
{
SetPlayerHealth(0)
SendClientMessageToAll(0xDEEE20FF, string);
return 1;
}
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;
}