[Include] [INC] PlayerZone (GetPlayerZone)
#1

Informations
Hello, this is a simple GetPlayerZone function that will return player's location name (string, ex. Fost Valley). I used Lethal's coordinates to determinate player's location name. Also, Incognito's Streamer Plugin 2.3.8 is used to stream zones.

Functions
pawn Код:
stock GetPlayerZone(playerid); // Funciton will return location/zone name
Example Usage
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/WhereAmI", true, 9))
    {
        new string[128];
        format(string, sizeof(string), "Your location is %s.", GetPlayerZone(playerid));
        SendClientMessage(playerid, 0x50000AA, string);
    }
    return 1;
}
Download
[INC] PlayerZone (GetPlayerZone) (Solidfiles) 0.2

Credits
Lethal - Coordinates for zones
Incognito - Streamer Plugin
Reply


Messages In This Thread
[INC] PlayerZone (GetPlayerZone) - by Luka P. - 14.06.2010, 21:13
Re: [INC] PlayerZone (GetPlayerZone) - by WThieves - 14.06.2010, 21:25
Re: [INC] PlayerZone (GetPlayerZone) - by Luka P. - 14.06.2010, 21:39
Re: [INC] PlayerZone (GetPlayerZone) - by Luka P. - 15.06.2010, 13:45
Re: [INC] PlayerZone (GetPlayerZone) - by AnonScripter - 21.12.2013, 19:47
Re: [INC] PlayerZone (GetPlayerZone) - by Alphlax - 22.12.2013, 04:42
Re: [INC] PlayerZone (GetPlayerZone) - by penny - 10.09.2018, 14:34
Re: [INC] PlayerZone (GetPlayerZone) - by MIDO007 - 01.12.2018, 08:55
Re: [INC] PlayerZone (GetPlayerZone) - by cuber - 01.12.2018, 14:30

Forum Jump:


Users browsing this thread: 1 Guest(s)