Skip to content

Instantly share code, notes, and snippets.

View GenkaOk's full-sized avatar
🏠
Working from home

GenkaOk GenkaOk

🏠
Working from home
  • Polis812
  • Russia
  • 23:10 (UTC +03:00)
View GitHub Profile
# 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 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
@GenkaOk
GenkaOk / vicecity.c
Last active March 24, 2020 18:28
For revolution team
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},