Raised This Month: $66 Target: $400
 16% 

FFAC : Location, display CITY, distance from you and country of a player


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Hawk552 (427)
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 07-29-2007 , 18:22   FFAC : Location, display CITY, distance from you and country of a player
Reply With Quote #1

FFAC Location

It's late ( for me ^^ ), I'll be quick

This plugin just display the CITY, distance from you and the country of player entering in the game.



It REQUIRES ffac/tool 2.6 which is attached to this post. Please note this is a "beta version"

This version introduces 4 new natives which are :

PHP Code:
native ffac_get_player_latitude(id,latitude[8])
native ffac_get_player_longitude(id,longitude[8])
native ffac_get_player_city(id,city[16])
native ffac_get_player_country(id,country[16]) 
Feel free to ask for improvement of anything


Sample:

I come in the game and the plugin displays

"FFAC: hackziner from Bretigny, FRANCE is in the game"

like

Attached Thumbnails
Click image for larger version

Name:	location.PNG
Views:	1937
Size:	51.2 KB
ID:	18570  
Attached Files
File Type: sma Get Plugin or Get Source (v26_ffachmp.sma - 2367 views - 41.0 KB)
File Type: inc ffac_sys.inc (10.9 KB, 1003 views)
File Type: amxx ffac_location.amxx (3.3 KB, 875 views)
File Type: sma Get Plugin or Get Source (ffac_location.sma - 1880 views - 1.4 KB)
__________________

Last edited by hackziner; 07-30-2007 at 16:47.
hackziner is offline
Send a message via ICQ to hackziner Send a message via AIM to hackziner Send a message via MSN to hackziner Send a message via Yahoo to hackziner Send a message via Skype™ to hackziner
anssik
Senior Member
Join Date: May 2006
Location: Suomi Finland Perkele
Old 07-29-2007 , 19:21   Re: FFAC : Location, display CITY and country of a player
Reply With Quote #2

FFAC should really get it's own subforum. Nice job hackziner.
__________________
anssik is offline
stylerro
Senior Member
Join Date: Mar 2007
Old 07-30-2007 , 07:46   Re: FFAC : Location, display CITY and country of a player
Reply With Quote #3

hi man!
i have this errors: error 017: undefined symbol "ffac_get_player_city"
error 017: undefined symbol "ffac_get_player_country"
ffac_location.amx compile failed

and u can make to display the isp? "FFAC: hackziner from Bretigny, FRANCE, ISP, is in the game" and all text to be red or blue.
tks man.
stylerro is offline
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 07-30-2007 , 09:34   Re: FFAC : Location, display CITY and country of a player
Reply With Quote #4

isp, maybe I'll check the database
Color, I'll try

The web compiler can't compile this version because it haven't the include file. Please download the .amxx file or try to compile with the .inc on locale.

You need to install the version of ffac in this post, not the other one.


Note for the karma comment. If you don't like this plugin or the idea. It's not mine. Someone ask for it And it you think it's useless, it's your problem, but please not insult in karma ...
__________________
hackziner is offline
Send a message via ICQ to hackziner Send a message via AIM to hackziner Send a message via MSN to hackziner Send a message via Yahoo to hackziner Send a message via Skype™ to hackziner
Knnube
Junior Member
Join Date: Jul 2007
Location: Gdańsk,Poland
Old 07-30-2007 , 10:52   Re: FFAC : Location, display CITY and country of a player
Reply With Quote #5

nice
Knnube is offline
stylerro
Senior Member
Join Date: Mar 2007
Old 07-30-2007 , 12:25   Re: FFAC : Location, display CITY and country of a player
Reply With Quote #6

works! +karma
stylerro is offline
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 07-30-2007 , 13:18   Re: FFAC : Location, display CITY and country of a player
Reply With Quote #7

Quote:
works! +karma
I like when people say "it works", like it's a miracle



and ...
if want to criticize something don't post an ANONYME, UNREADABLE KARMA COMMENT.

Don't be feebleminded, let me know what's wrong with this plugin !
__________________
hackziner is offline
Send a message via ICQ to hackziner Send a message via AIM to hackziner Send a message via MSN to hackziner Send a message via Yahoo to hackziner Send a message via Skype™ to hackziner
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 07-30-2007 , 16:56   Re: FFAC : Location, display CITY, distance from you and country of a player
Reply With Quote #8

0.2
-Add distance from player


I've no ISP in my database ... So if anyone find one with isp ... I may update the database.

I don't know how to change the text color ... ;)
__________________
hackziner is offline
Send a message via ICQ to hackziner Send a message via AIM to hackziner Send a message via MSN to hackziner Send a message via Yahoo to hackziner Send a message via Skype™ to hackziner
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 07-30-2007 , 17:12   Re: FFAC : Location, display CITY, distance from you and country of a player
Reply With Quote #9

Looks nice! Gj i will use this...
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
BlackMilk
Veteran Member
Join Date: Jun 2007
Old 07-30-2007 , 17:19   Re: FFAC : Location, display CITY and country of a player
Reply With Quote #10

Quote:
Originally Posted by anssik View Post
FFAC should really get it's own subforum. Nice job hackziner.
Seconded.
And I'm thinking of getting a full FFAC package. Hehe, this looks awesome.
__________________
Mod:
User:
BlackMilk is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:16.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode