This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this file is included from init scripts | |
# change values here | |
# can help in case /tmp has not enough space | |
#TMPDIR=/opt/zapret/tmp | |
# redefine user for zapret daemons. required on Keenetic | |
WS_USER=nobody | |
# override firewall type : iptables,nftables,ipfw |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this file is included from init scripts | |
# change values here | |
# can help in case /tmp has not enough space | |
#TMPDIR=/opt/zapret/tmp | |
# redefine user for zapret daemons. required on Keenetic | |
WS_USER=nobody | |
# override firewall type : iptables,nftables,ipfw |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET_CHAR_COORDINATES(GetPlayerPed(), &PlayX, &PlayY, &PlayZ);//âïèñûâàåì êîîðäèíàòû èãðîêà â ïåðåìåííóþ | |
GET_DISTANCE_BETWEEN_COORDS_3D( PlayX, PlayY, PlayZ, Blip_x, Blip_y, Blip_z, &PlayR);//ïðîâåðêà "èãðîê íà êîîðäèíàòàõ" | |
int MAX_CHECKPOINT_COUNT = 15; // Количество чекпоинтов, чтобы знать, когда будет последний | |
float coordArray[3][MAX_CHECKPOINT_COUNT] = { | |
{-1396.191, -93.4063, 1.72855}, // 1 чекпоинт | |
{-1386.512, -244.1424, 1.727417}, | |
{-1396.191, -93.4063, 1.72855}, | |
{-1396.203, 60.96494, 8.657473}, |