Bug with player zones
#1

Hello, i downloaded this include http://forum.sa-mp.com/showthread.ph...ighlight=zones to display where a player is when he comits a crime etc. I decided to test out before i go using it in all my /rob cmds etc

pawn Код:
format(string2, sizeof(string2), "Your wanted level has been increased to %i your zone : %s", WantedLevel[playerid], PlayerZone(playerid));
        SendClientMessage(playerid, COLOR_RED, string2);
it displays Your wanted level has been increased to 4 your zone : at i was like wtf? im not at "at"
so maybe its with the stock?
pawn Код:
stock PlayerZone(playerid)
{
    new zone[28];
    GetPlayer2DZone(playerid, zone, 28);
    return 1;
}
Reply
#2

Post that GetPlayer2DZone
Reply
#3

Код:
stock PlayerZone(playerid)
{
    new zone[28];
    GetPlayer2DZone(playerid, zone, 28);
    return zone;//I think it should return a string which contains the name of a zone
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)