![]() Stock GetPointZone( Float:x, Float:y, Float:z, zone = "San Andreas ", len = sizeof(zone))įor ( new i, j = sizeof(Zones) i = Zones & x = Zones & y = Zones & z = Zones & x = Zones & y = Zones & z <= Zones)įirst of all, what do we see? A lot of code repetition. ![]() Let's take a look at another implementation that even I used a long time Occurring, but the risk is still there and arrays should never be returned in ![]() GetPlayerLocation most likely uses format to prevent this bug from If you didn't get the reference, you should probably check out else GetPlayerPos(playerid, fX, fY, fZ) įormat(string, 32, GetLocation(fX, fY, fZ)) If ((id = House_Inside(playerid)) != - 1) (fX >= g_arrZoneData & fX = g_arrZoneData & fY = g_arrZoneData & fZ <= g_arrZoneData)) Stock GetLocation( Float:fX, Float:fY, Float:fZ)įor ( new i = 0 i != sizeof(g_arrZoneData) i ++)
0 Comments
Leave a Reply. |