Names of Neighborhoods
#3

pawn Код:
#include <a_zones>
#include <zcmd>
CMD:zone(playerid,params[])
{
    new zone[64],string[160];
    GetPlayer2DZone(playerid,zone,sizeof(zone));
    format(string,sizeof(string),"%s",zone);
    SendClientMessage(playerid,-1,string);
    return 1;
}
Or you could do what jueix said, make a textdraw, use a timer, and update it, or use GameTextForPlayer.

pawn Код:
#include <a_zones>
#include <zcmd>
CMD:zone(playerid,params[])
{
    new zone[64],string[160];
    GetPlayer2DZone(playerid,zone,sizeof(zone));
    format(string,sizeof(string),"%s",zone);
    GameTextForPlayer(playerid,string,2000,5);
    return 1;
}
The zones include is located here. Clicky
Reply


Messages In This Thread
Names of Neighborhoods - by vannesenn - 21.07.2013, 11:29
Re: Names of Neighborhoods - by jueix - 21.07.2013, 11:34
Re: Names of Neighborhoods - by DobbysGamertag - 21.07.2013, 11:59
Re: Names of Neighborhoods - by vannesenn - 21.07.2013, 12:01
Re: Names of Neighborhoods - by DobbysGamertag - 21.07.2013, 12:05
Re: Names of Neighborhoods - by vannesenn - 21.07.2013, 12:12
Re: Names of Neighborhoods - by vannesenn - 21.07.2013, 18:50
Re: Names of Neighborhoods - by MP2 - 21.07.2013, 18:55
Re: Names of Neighborhoods - by vannesenn - 21.07.2013, 19:19
Re: Names of Neighborhoods - by vannesenn - 23.07.2013, 00:04

Forum Jump:


Users browsing this thread: 1 Guest(s)