Names of Neighborhoods
#1

How do I create zones such as Ganton, Idlewood, Commerce, etc. I do not think the GangZone.
Reply
#2

There are lot's of different way's, But I'm not sure what you mean, Do you mean like if the player is in Idlewood it basicly tell's him somewhere in game in like a textdraw or something else?
Reply
#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
#4

Quote:
Originally Posted by jueix
Посмотреть сообщение
There are lot's of different way's, But I'm not sure what you mean, Do you mean like if the player is in Idlewood it basicly tell's him somewhere in game in like a textdraw or something else?
Yes, but my question is how the zones work. Coordinates that I have to take?
Reply
#5

Quote:
Originally Posted by vannesenn
Посмотреть сообщение
Yes, but my question is how the zones work. Coordinates that I have to take?
There's "zones" you speak of already around here. Click https://sampforum.blast.hk/showthread.php?tid=27598


Then use what i gave you as a way of checking, you can elaborate on it too. Textdraws and stuff
Reply
#6

I do not want the zone. I need someone to explain how to make zone. I then want a way to make these streets (as Ganton Street, 56th Avenue, etc.) .....
Reply
#7

Somebody help?
Reply
#8

The North-East corner is the max x/y, and the South-East corner is the min x/y.
Reply
#9

I understand you.
can you explain to me in this case
AddPlayerClass(187,1961.7101,-2119.5242,13.3828,3.7601,0,0,0,0,0,0); // max
AddPlayerClass(187,1966.8760,-2136.0652,13.5469,274.7726,0,0,0,0,0,0); // max
AddPlayerClass(187,1961.5481,-2156.4509,13.3828,181.0851,0,0,0,0,0,0); // min
AddPlayerClass(187,1951.4379,-2135.2185,13.5396,77.3941,0,0,0,0,0,0); // min
Reply
#10

Somebody help?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)