Wysłany: 2015-01-02, 19:50
Fanciak
BOT
Wiek: 25 Na forum: 4446 dni Posty: 728
Nick w MP: Fanciak
Piwa : 1572
Jak doda? tutaj aby grupa Admin lub SuperModerator r?wnie? mog?a u?ywa? tej komendy? Pr?bowa?em dodawac "or" lecz nie sz?o.
addCommandHandler ( "tplv" , function( el , md )
local accName = getAccountName ( getPlayerAccount ( el ) )
if isObjectInACLGroup ( "user." .. accName , aclGetGroup ( "Moderator" ) ) then
local gracz = el
if isPedInVehicle ( el ) then gracz = getPedOccupiedVehicle ( el ) end
setElementPosition ( gracz , 2437.93 , 2369.28 , 10.82 )
end
end )
Za pomoc piwko oraz respekt.
Wysłany: 2015-01-02, 19:54
MeeShuffle
Programista/Grafik
Wiek: 32 Na forum: 4394 dni Posty: 2758
Nick w MP: Shuffle
Piwa : 8575
addCommandHandler ( "tplv" , function( el , md )
local accName = getAccountName ( getPlayerAccount ( el ) )
if isObjectInACLGroup ( "user." .. accName , aclGetGroup ( "Moderator" or "Admin" or "SuperModerator" ) ) then
local gracz = el
if isPedInVehicle ( el ) then gracz = getPedOccupiedVehicle ( el ) end
setElementPosition ( gracz , 2437.93 , 2369.28 , 10.82 )
end
end )
Tagi: acl
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: