Wysłany: 2015-04-19, 13:35
pawel998
Wiek: 35 Na forum: 4261 dni Posty: 29
Nick w MP: Piotrek101
Chcem zrobi? co? takiego gdy wejdziesz w marker to robi ci si? czerwony nick i zak?ada ci skina id 299 i to ma by? pod ACL a mam tylko pod
Kod: [Team Name] = createTeam ( "Team Name", 249, 39, 39 )
marker = createMarker ( x(7), y(5), z(4), "cylinder", 1, 0, 249, 39, 39 ) ----The Position x,y,z
PosetElementData (marker, "opis", " Witamy na slozbie." )
function login ( hitElement, matchingDimension )
local accName = getAccountName ( getPlayerAccount ( hitElement ) )
if isObjectInACLGroup ("user."..accName, aclGetGroup ( "[ACL Grups]" ) ) then
setPlayerTeam ( hitElement, Team Name )
outputChatBox ( "Nie jestes Pracownikiem! Jezeli nie opuscisz terenu zostaniesz ukarany !", hitElement, 249, 39, 39 )
end
end
addEventHandler ( "onMarkerHit", marker, login )
Wysłany: 2015-04-20, 08:09
MeeShuffle
Programista/Grafik
Wiek: 32 Na forum: 4394 dni Posty: 2758
Nick w MP: Shuffle
Piwa : 8575
marker = createMarker ( x ( 7 ), y ( 5 ), z ( 4 ), "cylinder" , 1 , 0 , 249 , 39 , 39 )
Co to jest?
Wysłany: 2015-04-20, 19:19
Loop
Inspektor
Wiek: 27 Na forum: 4289 dni Posty: 311
Nick w MP: Inspektor
Piwa : 201
https://wiki.multitheftauto.com/wiki/SetPlayerNametagColor -- Kolor nicku
https://wiki.multitheftauto.com/wiki/SetElementModel -- Skin gracza
a co do tego marker = createMarker ( x(7), y(5), z(4), "cylinder", 1, 0, 249, 39, 39 )
zmien na
marker = createMarker ( x, y, z, "cylinder", 1, 0, 249, 39, 39 )
x, y, z to oczywi?cie pozycje
lub chcesz zrobi? tablic? to
local logowanie =
{ x , y , z },
{ x , y , z },
{ x , y , z },
{ x , y , z },
}
for i , v in ipairs ( logowanie ) do
marker = createMarker ( v [ 1 ], v [ 2 ], v [ 3 ], "cylinder" , 1 , 0 , 249 , 39 , 39 )
Je?li pomog?em postaw
Tagi: logowanie :: frakcji
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: