05.01.2010, 14:19
ok so i want it to open gates automaticly if anyone is near
i put this code on Ongamemodeinit but it dosent work why?
i put this code on Ongamemodeinit but it dosent work why?
Код:
for(new i = 0; i < GetMaxPlayers(); i++) { if(PlayerToPoint(15.0, i, -205.532806, 989.914429, 18.148491)) { MoveObject(pdvartai, -205.532806, 989.914429, 18.148491, 2.5); SetTimer("PdVartaiUzdaryti", 10000, 0); } }