SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 04/10/2011, 01:26 PM   #1
Shelby
Gangsta
 
Join Date: Jul 2010
Location: South America.
Posts: 539
Reputation: 73
Default Simple Friend System

Informations
Filterscript that lets you have a system of friends chat, the player can add / remove and chat with friends.
When the player connects to the server, it's send a message to online friends that player joined(or quit).

Commands
/friend [targetid] - Invite a player to become your friend;
/myfriends- Show your online friends;
/deletefriend [targetid] - Delete a friend.
/msg - Send a message to a friend(or by clicking on TAB).
/msn - Send a group message. (to all friends online)
/helpfs- Show in-game commands.

Thanks to
Double-O-Seven - DOF2 Fast INI file system.
****** - Efficient and Powerful sscanf & foreach.
ZeeX - ZCMD Command Processor.
SA-MP Team

Images

receiving an invitation

when player connects

checking friends online

sending a message

Requirements
Create "SFSUsers" folder in scriptfiles.

Download
Only .pwn - Pastebin
.Amx & .pwn - Solidfiles
DOF2 - forum.sa-mp
ZCMD - forum.sa-mp
sscanf - forum.sa-mp
foreach - forum.sa-mp
Shelby is offline   Reply With Quote
Old 04/10/2011, 01:37 PM   #2
suhrab_mujeeb
Guest
 
Posts: n/a
Default Re: Simple Friend System

Nice but can it be like a group chat or something, example if 3 friends are online then /msg sends a message to all of the online friends?
  Reply With Quote
Old 04/10/2011, 01:50 PM   #3
Shelby
Gangsta
 
Join Date: Jul 2010
Location: South America.
Posts: 539
Reputation: 73
Default Re: Simple Friend System

Quote:
Originally Posted by suhrab_mujeeb View Post
Nice but can it be like a group chat or something, example if 3 friends are online then /msg sends a message to all of the online friends?
Thank you. Yes, i updated pastebin link with /msn command, it sends a message to all friends online(of the player).
Shelby is offline   Reply With Quote
Old 04/10/2011, 01:58 PM   #4
WoodPecker
Huge Clucker
 
WoodPecker's Avatar
 
Join Date: Apr 2009
Location: Tree
Posts: 428
Reputation: 47
Default Re: Simple Friend System

Wow amazing work, i will use this one for sure, thank you mate, 3rep4u.
WoodPecker is offline   Reply With Quote
Old 04/10/2011, 02:01 PM   #5
suhrab_mujeeb
Guest
 
Posts: n/a
Default Re: Simple Friend System

Quote:
Originally Posted by Larceny View Post
Thank you. Yes, i updated pastebin link with /msn command, it sends a message to all friends online(of the player).
Yeah, now that's what was needed. Great job, though I can test it. But seeing the features it definitely is a nice script.
  Reply With Quote
Old 04/10/2011, 03:03 PM   #6
Naruto_Emilio
Banned
 
Join Date: Apr 2011
Location: North Africa
Posts: 1,299
Reputation: 365
Default Re : Simple Friend System

This is awesome, i like this release . thanks for sharing it.
Naruto_Emilio is offline   Reply With Quote
Old 04/10/2011, 04:38 PM   #7
Vai_Besta
Gangsta
 
Vai_Besta's Avatar
 
Join Date: Dec 2009
Location: localhost
Posts: 562
Reputation: 22
Default Re: Simple Friend System

awesome (:
__________________

By Shelby
Vai_Besta is offline   Reply With Quote
Old 04/10/2011, 04:49 PM   #8
Markx
Gangsta
 
Markx's Avatar
 
Join Date: Dec 2010
Location: Zagreb, Croatia
Posts: 944
Reputation: 39
Default Re: Simple Friend System

Looks pretty awesome. 9/10
__________________
...Left samp for now, hope i gonna be back someday...

Markx is offline   Reply With Quote
Reply

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
[FilterScript] Simple Afk System Monster[HD] Filterscripts 8 13/11/2011 07:08 AM
[FilterScript] Simple Friend System Lós Lançamentos/Releases 15 04/10/2011 01:28 PM
[FilterScript] Simple AFK system sciman001 Filterscripts 3 19/03/2011 05:09 AM
[FilterScript] Simple AFK System Markx Filterscripts 22 09/03/2011 04:08 PM
HELP.. "Friend" system.. Faith Help Archive 17 06/08/2010 11:20 PM


All times are GMT. The time now is 01:48 PM.


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