27.01.2007, 22:33
As i see that the Post your interesting/weird... commands is flooded with not just commands,
but other snippets that go in different areas of the SA:MP Scripts, i decided to make this
topic with ******' approval for people to post there useful, weird, or interesting snippets that not just
go into the OnPlayerCommandText Area but other areas of the SA:MP scripts. Ill start it out.
Connect icon in DeathStats from ******
Disconnect icon in DeathStats from ******
but other snippets that go in different areas of the SA:MP Scripts, i decided to make this
topic with ******' approval for people to post there useful, weird, or interesting snippets that not just
go into the OnPlayerCommandText Area but other areas of the SA:MP scripts. Ill start it out.
Connect icon in DeathStats from ******
pawn Code:
public OnPlayerConnect(playerid)
{
SendDeathMessage(playerid, INVALID_PLAYER_ID, 200);
return 1;
}
Disconnect icon in DeathStats from ******
pawn Code:
public OnPlayerDisconnect(playerid)
{
SendDeathMessage(INVALID_PLAYER_ID, playerid, 201);
}