Quantcast
Channel: SA-MP Forums - Filterscripts
Viewing all articles
Browse latest Browse all 595

[FilterScript] [MySQL][RP] Simple Phone System

$
0
0
Simple Phone System


Introduction:

this is a simple filterscript for a samp server ! this system uses MySQL Saving engine !
there ISP System ! and also phone money (not main monry) !!
and there 2 phone dealers one in LV and second at SF
also there 3 ISP's (San Andreas Telecom, San Fierro Telecom, Las Venturas Telecom)

the feature of every one are different

SAT = 10 $ / sec taking in phone
SFT = 70 $ / sec taking in phone
LVT = 50 $ / sec taking in phone

also prices are different for more informations use it !

Commands:

PHP Code:


/call Call someone by entring his id finish call

/phone See your stats (ISPMoney)

/
decline Deny a call coming to you

/answer accept a call coming to you 

Callbacks:

PHP Code:

public onCallStarted(playeridtargetid)
public 
onCallCostTake(playerid)
public 
onCallFinished(playeridreason

Screenshots:

http://imgur.com/a/pRdh0

How to install ?:

1- Download Phone.pwn from gihub or copy it from pastebin
*Pastebin: past it and save it on Phone.pwn

2- Change
PHP Code:

#define MySQL_Host ""
#define MySQL_User ""
#define MySQL_DB   ""
#define MySQL_Pass ""
#define MySQL_Port 3306 

to your mysql informations

3- Press F5

4- copy *.amx file to your fiterscripts folder

5- add it in server.cfg (filterscripts phone)

6- Restart/Start server

7- Have fun !

Download Link:

Pastebin: http://pastebin.com/nYcRvrF2

Github: https://github.com/LVPYassine/Simple...eases/tag/v1.0

Bugs:

if you find a bug feel free to post a reply/pm me or just open issue at github

Credits:

*SA-MP Team
*BlueG & maddinat0r for MySQL Plugin
*Zeex for zcmd
*Y_Less for sscanf
*Incognito for streamer plugin

Have fun !!

Yaa

Viewing all articles
Browse latest Browse all 595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>