SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 27/01/2007, 11:33 PM   #1
Pixels^
Gangsta
 
Join Date: Dec 2006
Posts: 845
Reputation: 22
Default Useful Snippets

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 Y_Less' 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 Y_Less
pawn Code:
public OnPlayerConnect(playerid)
{
   SendDeathMessage(playerid, INVALID_PLAYER_ID, 200);
   return 1;
}


Disconnect icon in DeathStats from Y_Less
pawn Code:
public OnPlayerDisconnect(playerid)
{
  SendDeathMessage(INVALID_PLAYER_ID, playerid, 201);
}
Pixels^ is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
READ Usefull Links to snippets and other -Sneaky- Help Archive 5 02/05/2009 12:22 PM


All times are GMT. The time now is 08:46 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.