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

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 код:

/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 код:
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 код:
#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
******* for sscanf
*Incognito for streamer plugin

Have fun !!

Yaa
Reply


Messages In This Thread
[MySQL][RP] Simple Phone System - by Yaa - 20.01.2017, 21:57
Respuesta: [MySQL][RP] Simple Phone System - by Eloy - 20.01.2017, 22:16
Re: [MySQL][RP] Simple Phone System - by iLearner - 20.01.2017, 22:19
Re: [MySQL][RP] Simple Phone System - by Yaa - 20.01.2017, 22:23
Re: [MySQL][RP] Simple Phone System - by iLearner - 20.01.2017, 22:27
Re: [MySQL][RP] Simple Phone System - by Yaa - 20.01.2017, 22:32
Re: [MySQL][RP] Simple Phone System - by iLearner - 20.01.2017, 22:40
Re: [MySQL][RP] Simple Phone System - by oMa37 - 20.01.2017, 22:48
Re: [MySQL][RP] Simple Phone System - by Quinncell - 20.01.2017, 22:50
Re: [MySQL][RP] Simple Phone System - by iLearner - 20.01.2017, 22:53
Re: [MySQL][RP] Simple Phone System - by RyderX - 21.01.2017, 04:13
Re: [MySQL][RP] Simple Phone System - by Bolex_ - 21.01.2017, 08:27
Re: [MySQL][RP] Simple Phone System - by Quinncell - 21.01.2017, 10:19
Re: [MySQL][RP] Simple Phone System - by Yaa - 21.01.2017, 10:25
Re: [MySQL][RP] Simple Phone System - by oMa37 - 21.01.2017, 10:29
Re: [MySQL][RP] Simple Phone System - by Quinncell - 21.01.2017, 10:30
Re: [MySQL][RP] Simple Phone System - by GhostHacker9 - 21.01.2017, 10:50
Re: [MySQL][RP] Simple Phone System - by Yaa - 21.01.2017, 11:06
Re: [MySQL][RP] Simple Phone System - by GhostHacker9 - 21.01.2017, 11:14
Re: [MySQL][RP] Simple Phone System - by oMa37 - 21.01.2017, 11:16

Forum Jump:


Users browsing this thread: 4 Guest(s)