[FilterScript] Simple Friend System
#1

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
Reply
#2

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
#3

Quote:
Originally Posted by suhrab_mujeeb
Посмотреть сообщение
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).
Reply
#4

Wow amazing work, i will use this one for sure, thank you mate, 3rep4u.
Reply
#5

Quote:
Originally Posted by Larceny
Посмотреть сообщение
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
#6

This is awesome, i like this release . thanks for sharing it.
Reply
#7

awesome (:
Reply
#8

Looks pretty awesome. 9/10
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)