Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new bool:PunktJest = false,
- string[124];
- for(new i = 0; i < sizeof(zalarozla); i++)
- {
- if(IsPlayerInRangeOfPoint(playerid, 2.0, zalarozla[i][coordX], zalarozla[i][coordY], zalarozla[i][coordZ]) //2.0 to odległość o punktu w metrach
- {
- PunktJest = true;
- format(string, 124, "Jesteś w punkcie o nazwie: %s", zalarozla[i][Nazwa]);
- SendClientMessage(playerid, 0xFFFFFFFF, string);
- break;
- }
- }
- if(!PunktJest) return SendClientMessage(playerid, 0xFFFFFFFF, "Nie jesteś w żadnym punkcie!");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement