09.01.2013, 16:27
(
Last edited by LarzI; 16/01/2013 at 02:14 PM.
)
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:
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:
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
** 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
- 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.
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
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
- Required plugins and includes:
- YSI (y_ini and y_iterate) - https://sampforum.blast.hk/showthread.php?tid=321092
- sscanf 2.8 - forum.sa-mp.com/showthread.php?t=120356
- zcmd - https://sampforum.blast.hk/showthread.php?tid=91354
- Filterscript packages:
- Full package (.pwn, .amx) - http://www.solidfiles.com/d/fd06f74e50/download/
- Only source (.pwn) - http://www.solidfiles.com/d/6ca500d8cd/download/ || http://pastebin.com/CMf9MsQi
- Only compiled script (.amx) - http://www.solidfiles.com/d/5eb147c63e/download/
- Mirror(s):
- To be added if provided
- Y_Less for YSI, sscanf and whirlpool
- Zeex for ZCMD
- Slice for tutoring on bit-flags (used in script)