[FilterScript] Simple Cellphones
#1

Simple Cellphones
** by LarzI aka. zCourge **

FLAW FIXED - LINKS UPDATED.

What does this do?

This FS simply adds the ability to "call" another player. This is simply just a PM-like system where you "call" the player, then freely chat with him, and then hang up when you\'re done. Everything you write (except commands) while you\'re in a "phonecall", will be sent to you and the player you\'ve called only.

Listed features:
  • Personal phone numbers - all stored in a single file using tags (y_ini), created when you initialize the filterscript for the first time (writes n numbers into the file based, where n = MAX_PLAYERS
  • Private phone number (only to be called by people who has your number in their phonebooks)
  • OnPlayerClickPlayer to call players (Tab > Double-click)
  • Dialog-based and command based calling
  • Dynamic phone-book where you can add, remove or call contacts (contact names doesn\'t have to be their in-game name
  • A configuration file where you can enable or disable private phones and the OnPlayerClickPlayer-feature
  • Animations
Possible future feature(s):
  • Let owners configure wether they want players to get their phones on connect, or have to buy them, by setting an option in the configuration file
  • New: Let owners configure wether they want file-saving or SQL-saving, and implement mysql.
What can this be good for?

This would be suitable for RP-servers, I guess.

How do I use it?

You need to get the required plugins and includes (listed below), then just simply put the cellphone.amx into the filterscripts folder, and add "cellphone" to the filterscript line in the server.cfg file.

Required plugins and includes:
  • Includes:
    • y_ini. (part of YSI)
    • y_iterate (part of YSI)
    • zcmd
    • sscanf2 (along with the plugin mentioned below)
  • Plugins:
    • sscanf
Edit: I have no idea why I said this FS used Whirlpool, as it doesn\'t. Tiny error, I apologize.

I used this FS and found a bug/glitch - what do I do?

Either post a reply here or send me a PM, and I\'ll try to fix it as soon as possible.

Downloads
  • Mirror(s):
    • To be added if provided
Thanks to:
  • Y_Less for YSI, sscanf and whirlpool
  • Zeex for ZCMD
  • Slice for tutoring on bit-flags (used in script)
Enjoy!
Reply


Messages In This Thread
Simple Cellphones - by LarzI - 09.01.2013, 16:27
Re: Simple Cellphones - by DarkyTheAngel - 09.01.2013, 18:28
Re: Simple Cellphones - by Alex Magaсa - 09.01.2013, 18:43
Re: Simple Cellphones - by [HK]Ryder[AN] - 10.01.2013, 03:28
Re: Simple Cellphones - by fanta291327 - 10.01.2013, 03:42
Re: Simple Cellphones - by LarzI - 13.01.2013, 03:12
Re: Simple Cellphones - by Anak - 13.01.2013, 03:49
Re: Simple Cellphones - by RajatPawar - 13.01.2013, 07:38
Re: Simple Cellphones - by RedCrossER - 13.01.2013, 07:49
Re: Simple Cellphones - by zJordioz - 13.01.2013, 10:29
Re: Simple Cellphones - by LarzI - 13.01.2013, 11:30
Re: Simple Cellphones - by [MM]18240[FMB] - 13.01.2013, 14:19
Re: Simple Cellphones - by Pak_halo - 14.01.2013, 08:38
Re: Simple Cellphones - by LarzI - 16.01.2013, 14:15
Re: Simple Cellphones - by MarshallNero - 16.01.2013, 17:13
Re: Simple Cellphones - by LarzI - 19.01.2013, 18:24
Re: Simple Cellphones - by PrezyI - 10.04.2013, 21:29
Re: Simple Cellphones - by darkdevil - 23.05.2016, 13:20
Re: Simple Cellphones - by LarzI - 09.06.2016, 21:48

Forum Jump:


Users browsing this thread: 2 Guest(s)