[FilterScript] Simple Cellphones - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Simple Cellphones (
/showthread.php?tid=406221)
Simple Cellphones -
LarzI - 09.01.2013
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)
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- Required plugins and includes:
Thanks to:- Y_Less for YSI, sscanf and whirlpool
- Zeex for ZCMD
- Slice for tutoring on bit-flags (used in script)
Enjoy!
Re: Simple Cellphones -
DarkyTheAngel - 09.01.2013
Nice one buddy.Good job.
Re: Simple Cellphones -
Alex MagaŃa - 09.01.2013
Cool
Keep up!
Re: Simple Cellphones -
[HK]Ryder[AN] - 10.01.2013
Nice one larzi.
Re: Simple Cellphones -
fanta291327 - 10.01.2013
Really nice job
Re: Simple Cellphones -
LarzI - 13.01.2013
- ignore -
Re: Simple Cellphones -
Anak - 13.01.2013
sounds cool bro
Re: Simple Cellphones -
RajatPawar - 13.01.2013
This is good, I like it, can see the work you put in !
Also:
Quote:
Originally Posted by LarzI
[i]n[/n]
|
Fail, lol
Re: Simple Cellphones -
RedCrossER - 13.01.2013
Good work mate
Re: Simple Cellphones -
zJordioz - 13.01.2013
Nice one
Re: Simple Cellphones -
LarzI - 13.01.2013
Quote:
Originally Posted by Rajat_Pawar
This is good, I like it, can see the work you put in !
Also:
Fail, lol
|
Fixed
Re: Simple Cellphones -
[MM]18240[FMB] - 13.01.2013
Looks nice, and I desperately tried to find something to use it for, but I cannot find a use for it in my DM server.. Might be useful for CNR, or RP, or any server without a PM system.
Re: Simple Cellphones -
Pak_halo - 14.01.2013
Good Work!
Re: Simple Cellphones -
LarzI - 16.01.2013
FLAW FIXED - LINKS UPDATED.
Special thanks to Y_Less for sorting something important out for me.
Re: Simple Cellphones -
MarshallNero - 16.01.2013
Nice .. Well done.
Re: Simple Cellphones -
LarzI - 19.01.2013
Quote:
Originally Posted by [MM]18240[FMB]
Looks nice, and I desperately tried to find something to use it for, but I cannot find a use for it in my DM server.. Might be useful for CNR, or RP, or any server without a PM system.
|
Yes indeed. This is just simply a "kind-off" PM system where you can freely chat (instantly) with another player, without having to type /pm, but with some animations, sounds and an easy-to-use UI.
Re: Simple Cellphones -
PrezyI - 10.04.2013
Nice!
Re: Simple Cellphones -
darkdevil - 23.05.2016
Nice work
Re: Simple Cellphones -
LarzI - 09.06.2016
It\'s old, but thanks anyway dude