[FilterScript] Profiles [email, phone, FRIEND LISTS, calls + group calls, etc..]
#1

Profile System

1. Introduction

I made this on request but the person ended up not paying me so now I'm releasing it publicly (ha!).

This system will allow you to make your own profile and let others see it. Profiles then can be used for a variety of things explained further. You can edit your profile at any time and it will automatically save to a MySQL database.

2. Features

a) Create your own profile and fill in (or leave blank) your personal details
Profiles consist of the following data:
1) Your sex
2) Your age
3) Your email
4) Your profile color
5) Your (in-game) phone number

Ofcourse the script can be adapted to hold more data.

b) View and/or like the profiles of other players
c) Call other players using their phone number or their ID => Call someone, they need to pick up => hang up when your done
d) Invite other players to your call (group calls) => they need to accept the call
e) Add friends to your friends list => invite a friend who needs to accept your request
f) Talk to your friends in-game without having to set up a private chat => all your friends will save to g database and your friends will instantly be loaded upon login => kinda like ********
h) Remove friends from your friends list

3. How to set up

1) Copy the script from pastebin and put it in your /filterscripts folder
2) add the filterscript to your server.cfg file
3) Open the script and edit your MySQL database details (line 32 to 35)
pawn Код:
// Edit this
#define SQL_HOST                ""
#define SQL_USER                ""
#define SQL_PASS                ""
#define SQL_DB                  ""
4) IMPORTANT: This script loads and saves instantly, there are no Callbacks such as "OnPlayerConnect" required for saving

5) This script requires sscanf2 (latest version) AND a MySQL plugin (latest version)

4. Credits

- Sinner : coding
- Dracoblue : dcmd
- ****** : sscanf2

5. Download

http://pastebin.com/C5tnbY2y

Screens:

Reply
#2

This is good dude!Good job
Reply
#3

Looks good.
Reply
#4

Nice release.
Reply
#5

Great Good Job
Reply
#6

Nice one, I like the 'likes' features too GJ!
Reply
#7

That's pretty cool
Reply
#8

does it have a coomand or how to get it working plz?? it compiled good just dont know how to set it up
Reply
#9

I like it. I tested it out and looks to be bug free. I hope to see more work from you
Reply
#10

This is good.
Nice dialogs.
Reply
#11

Quote:
Originally Posted by cree
Посмотреть сообщение
does it have a coomand or how to get it working plz?? it compiled good just dont know how to set it up
Check OnPlayerCommandText for all the commands, everything else you needed to know I explained.
Reply
#12

Quote:
Originally Posted by Sinner
Посмотреть сообщение
4. Credits

- Sinner : coding
- Dracoblue : dcmd
- ****** : sscanf2
pawn Код:
#include <a_samp>
#include <a_mysql>
#include <sscanf2>
MySQL credits :X
Reply
#13

nice one but the profile card system by pleomax was better
btw nice try
Reply
#14

Код:
#define SQL_HOST                                ""
#define SQL_USER                                ""
#define SQL_PASS                                ""
#define SQL_DB                                  ""
There must be what?
Reply
#15

Quote:
Originally Posted by 'seraphin
Посмотреть сообщение
Код:
#define SQL_HOST                                ""
#define SQL_USER                                ""
#define SQL_PASS                                ""
#define SQL_DB                                  ""
There must be what?
Your database host (use localhost if local),the database user name,the database password and the name of database.
Reply
#16

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
Your database host (use localhost if local),the database user name,the database password and the name of database.


Код:
C:\Users\----\Desktop\serveur gta samp\filterscripts\hone.pwn(10) : fatal error 100: cannot read from file: "a_mysql"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#17

You need the mysql include.Download it from this forum and recompile the script.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)