Wysłany: 2014-11-27, 17:58
Terr9909
Skrypter LUA
Wiek: 26 Na forum: 4234 dni Posty: 346
Nick w MP: Split
Piwa : 1043
Spr?buj:
addEventHandler ( "onPlayerLogin" , root , function()
if getPlayerTeam ( source ) == getTeamFromName ( "Gracze" ) then
toggleControl ( source , "fire" , false )
toggleControl ( source , "action" , false )
toggleControl ( source , "aim_weapon" , false )
else
toggleControl ( source , "fire" , true )
toggleControl ( source , "action" , true )
toggleControl ( source , "aim_weapon" , true )
end
end )
Wysłany: 2014-11-27, 20:21
LordKamis
Wiek: 26 Na forum: 4340 dni Posty: 107
Piwa : 190
Split , Uratowa?e? mi ?ycie bo dzia?a jeszcze pytani jak da? aktywacje na marker
addEventHandler ( "onPlayerLogin" , root , function()
Wysłany: 2014-11-27, 20:31
Terr9909
Skrypter LUA
Wiek: 26 Na forum: 4234 dni Posty: 346
Nick w MP: Split
Piwa : 1043
Więcej informacji znajdziesz w Wikipedii MTA: onMarkerHit
Wysłany: 2014-11-27, 20:45
LordKamis
Wiek: 26 Na forum: 4340 dni Posty: 107
Piwa : 190
Split , Wiem jak zrobi? addEventHandler ("onMarkerHit", nazwamarkera, funkcja)
Ale problem w tym ?e jak dam tak to wywala b?ad nieda si? tego wwali? do tej linijki @UP2
local we = createMarker ( - 1616.056 , 686.32 , 6.01 , "cylinder" , 1.6 , 18 , 222 , 235 , 170 )
function bicie ()
if getPlayerTeam ( source ) == getTeamFromName ( "Gracze" ) then
toggleControl ( source , "fire" , false )
toggleControl ( source , "action" , false )
toggleControl ( source , "aim_weapon" , false )
else
toggleControl ( source , "fire" , true )
toggleControl ( source , "action" , true )
toggleControl ( source , "aim_weapon" , true )
end
end
addEventHandler ( "onMarkerHit" , we , bicie )
Tagi: blokada :: quotfirequot :: dla :: teamu
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: