Raised This Month: $ Target: $400

Get Location

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Senior Member
Join Date: May 2007
Plugin ID:
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Plugin Dependencies:
    Servers with this Plugin:
    Plugin Description:
    Commands for everyone to get where a player is connected from
    Old 08-10-2007 , 03:03   Get Location
    Reply With Quote #1

    This is my first plugin, so started small and simple.

    Provides commands for any player to find out where a player is connected from. Only tells them the country, protects other player's ips.

    Sourcemod revision 1300 or greater


    sm_location <name|#userid> -- Gets a single player's locaton, prints to chat
    sm_locations -- Gets everyones' location, prints to menu or console if rcon or according to cvar

    sm_getlocation_announce - 1(on, default)/0 (off) - Announce player locations on connect
    sm_getlocation_inmenu - 1(menu, default) 2(console) - Display Locations in 1)menu[Default] or 0)console

    0.1 > First Version
    0.2 > Update for new GeoIP functions, NEED >r1300
    0.3 > Fixed running cmds through rcon, added respond with server ip for bots
    0.4 > added connect annouce and prevent it from crashing server when a player
    disconnects while entering (NOT RELEASED)
    0.5 > Menus added

    Things to come:
    Make any more suggestions??

    I don't plan for this to be a big plugin but I'm open to suggestions. Please abuse the hell out of my plugin so i can learn Pawn better.

    Thanks to:
    BAILOPAN -- For everything he does and helping me at random times
    pRED -- for helping me get started in Pawn
    sslice -- for his crazy coding help/suggestions
    FlyingMongoose -- for help at times
    -- for help at times and his warped mind
    #sorucemod idlers for comments
    Attached Files
    File Type: sp Get Plugin or Get Source (getlocation.sp - 7781 views - 6.5 KB)

    Last edited by The-Killer; 09-07-2007 at 14:05.
    The-Killer is offline

    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 15:36.

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