Tematy otagowane jako: loguje
1. Nie loguje do frakcji
Witam m?j problem polega na tym, ?e po wej?ciu w pickup nic si? niedzje. Nie ma ?adnych DB3. Nie wiem o co chodzi, jak dla mnie jest wszystko w porz?dku, mo?e jaki? liter?wki ale w?tpie. Prosz? o pomoc.
fcsd = createPickup ( 324.59454 , 305.01373 , 999.14844 , 3 , 1275 , 2000 )
setElementInterior ( fcsd , 5 )
function logfcsd ( thePlayer )
konto = getAccountName ( getPlayerAccount ( thePlayer ))
if getElementData ( thePlayer , "FCSD" ) == false then
if isObjectInACLGroup ( "user." .. konto , aclGetGroup ( "FCSD" )) then
setPlayerNametagColor ( thePlayer , 255 , 229 , 180 )
skin = getElementModel ( thePlayer )
setElementData ( thePlayer , "FCSD" , true )
outputChatBox ( "Wszed?es na s?u?b? w Fort Carson Sherrif Department !" , thePlayer , 255 , 229 , 180 )
else
outputChatBox ( "Nie jestes zatrudniony w frakcji Fort Carson Sherrif Department !" , thePlayer , 255 , 229 , 180 )
end
else
setElementModel ( thePlayer , skin )
setElementData ( thePlayer , "FCSD" , false )
setPlayerNametagColor ( thePlayer , 255 , 255 , 255 )
outputChatBox ( "Wyszed?es ze s?u?by w Fort Carson Sherrif Department !" , thePlayer , 255 , 229 , 180 )
end
end
addEventHandler ( "onPickupHit" , fcsd , logfcsd )
2. [DM] Nie loguje mnie do frakcji
Hej
mam problem nie loguje mnie do frakcji za pomoca markera
Panel log
[code]
GUIEditor_Window = {}
GUIEditor_Button = {}
GUIEditor_Memo = {}
GUIEditor_Grid = {}
GUIEditor_Window[1] = guiCreateWindow(696,396,324,353,"Login",false)
GUIEditor_Memo[1] = guiCreateMemo(16,31,297,83,"Logowanie do frakcji bedzie jeszcze dopracowywane",false,GUIEditor_Window[1])
GUIEditor_Grid[1] = guiCreateGridList(21,129,129,173,false,GUIEditor_Window[1])
guiGridListSetSelectionMode(GUIEditor_Grid[1],2)
skin1ammo = guiCreateButton(159,140,65,25,"Skin 163",false,GUIEditor_Window[1])
skin4ammo = guiCreateButton(233,140,65,25,"Skin 122",false,GUIEditor_Window[1])
skin2ammo = guiCreateButton(159,170,65,25,"Skin 164",false,GUIEditor_Window[1])
skin3ammo = guiCreateButton(159,200,65,25,"Skin 121",false,GUIEditor_Window[1])
skin5ammo = guiCreateButton(234,170,65,25,"Skin 127",false,GUIEditor_Window[1])
skin6ammo = guiCreateButton(235,200,65,25,"Skin 112",false,GUIEditor_Window[1])
GUIEditor_Button[1] = guiCreateButton(159,262,150,30,"Zaloguj",false,GUIEditor_Window[1])
GUIEditor_Button[4] = guiCreateButton(162,305,150,30,"Wyjdz",false,GUIEditor_Window[1])
guiSetVisible(GUIEditor_Window[1], false)
showCursor(false)
local marker2 = createMarker(250.69921875, 97.099609375, 1813.5999755859, "cylinder", 1.0, 80,80,80,255)
function markerHitLs (hitPlayer)
if ( h...