-
Posts
4,121 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Kenix
-
Wet Work(CoD4 Modern Warfare) very well done map and all the others are not so similar
-
not understand ?
-
may be this addEvent("buy2", true) addEventHandler("buy2", getRootElement(), function() if ( getPlayerMoney (source) >= 2000 ) then takePlayerMoney(source, 2000) local x,y,z = getElementPosition ( source ) local trolley1 = getElementInterior ( trolley ) trolley = createObject (2780, x, y, z, 0, 0, 0 ) outputChatBox(""..getPlayerName(source).." Bought SMoke !", getRootElement(), 0, 255, 0, true) else outputChatBox(" No Money !", source, 255, 0, 0, true) end end )
-
It Works ! thanks a lot dude
-
he wrote "You are not in the ACL" OMG
-
did not write that you came in as a moderator, etc.
-
you mean that's? triggerServerEvent ( "onSendLogineng", getLocalPlayer(),getLocalPlayer(), guiGetText(GUIEditor_Edit[8]), guiGetText(GUIEditor_Edit[9]) )
-
function playerlogin() local login = guiGetText(GUIEditor_Edit[8]) local password = guiGetText(GUIEditor_Edit[9]) if(login == "" and login ~= nil or password == "" and password ~= nil) then outputChatBox("[sERV] Please fill in all fields",255,255,0,true ) else triggerServerEvent ( "onSendLogineng", getRootElement(), getLocalPlayer(), guiGetText(GUIEditor_Edit[8]), guiGetText(GUIEditor_Edit[9]) ) end end
-
player login and the chat message is displayed that he entered as ... error 4 line bad argument @ "getAccountName" function onLogineng ( players, users, passs ) local accounts = getAccount ( users, passs ) local accountname = getAccountName (getPlayerAccount(source)) if ( accounts ~= false ) then if (logIn ( players, accounts, passs ) == true) then triggerClientEvent ( "OnPlayerLoginFromServereng", getRootElement()) if isObjectInACLGroup ( "user." .. tostring(accountname), aclGetGroup ( "Moderator" ) ) then outputChatBox("[sERV] Player"..getPlayerName(source).." join Moderator") elseif isObjectInACLGroup ( "user." .. tostring(accountname), aclGetGroup ( "SuperModerator" ) ) then outputChatBox("[sERV] Player"..getPlayerName(source).." join SuperModerator") elseif isObjectInACLGroup ( "user." .. tostring(accountname), aclGetGroup ( "Admin" ) ) then outputChatBox("[sERV] Player"..getPlayerName(source).." join Admin") end else outputChatBox ( "[sERV] error login", players, 255, 255, 0 ) end else outputChatBox ( "[sERV] error nickname or password!", players, 255, 255, 0 ) end end addEvent( "onSendLogineng", true ) addEventHandler( "onSendLogineng", getRootElement(), onLogineng )
-
very cool man good job
-
help please may be problem in outputMessage use debug no errors function ZombieKillmessage(ammo, attacker, weapon, bodypart) if ( weapon == 4 ) then local sourceTeam,killerTeam = getPlayerTeam(source),getPlayerTeam(attacker) local rK,gK,bK = getPlayerNametagColor(attacker) local rS,gS,bS = getPlayerNametagColor(source) exports.killmessages:outputMessage( {getPlayerName(attacker),{"padding",width=3},{"icon",id=waffe},{"padding",width=3}, {"icon",id=256},{"padding",width=3},{"color",r=rS,g=gS,b=bS},getPlayerName(source)}, getRootElement(),rK,gK,bK) end end addEventHandler("onPlayerDamage",getRootElement(),ZombieKillmessage)
-
please help I want to do that after a knife displays. but script not work function ZombieKillmessage(ammo, attacker, weapon, bodypart) if ( weapon == 4 ) then local sourceTeam,killerTeam = getPlayerTeam(source),getPlayerTeam(killer) local rK,gK,bK = getPlayerNametagColor(killer) local rS,gS,bS = getPlayerNametagColor(source) exports.killmessages:outputMessage( {getPlayerName(killer),{"padding",width=3},{"icon",id=waffe},{"padding",width=3}, {"icon",id=256},{"padding",width=3},{"color",r=rS,g=gS,b=bS},getPlayerName(source)}, getRootElement(),rK,gK,bK) end end addEventHandler("onPlayerDamage",getRootElement(),ZombieKillmessage)
-
i am fixed function saveSpawn ( ) setElementData(getLocalPlayer() , "sp_prot", true ); setElementAlpha(getLocalPlayer(), 50) setTimer(removeSaveSpawn,8000,1) end addEventHandler ( "onClientPlayerSpawn", getLocalPlayer(), saveSpawn ) function removeSaveSpawn () setElementData(getLocalPlayer() , "sp_prot", false ); setElementAlpha(getLocalPlayer(), 255) end function onSaveSpawn ( ) if getElementData( getLocalPlayer(), "sp_prot" ) then cancelEvent() end; end addEventHandler ( "onClientPlayerDamage", getLocalPlayer(), onSaveSpawn ) but now appears another error anti cheat sometimes kick and when you spawn and shoot at you then you have 0 hp and 8 seconds later you die. = (
-
что не понятно? что дать? могу всю карту скинуть: http://rghost.ru/4724446 эта паходу карта Mta race конвертор на форуме поищи
-
Advanced Zombie Mod Trailer nice video done by my friend:)
-
да это баг т.к слова в кладке должны увеличиваться в размере и сама вкладка тоже
-
may be this: function sacWal1( player, cmd ) local wal = getPedOccupiedVehicle(player) local x,y,z = getElementPosition( wal ) o1 = createObject ( 2060, x, y, z ) o2 = createObject ( 2060, x, y, z ) o3 = createObject ( 2060, x, y, z ) o4 = createObject ( 2060, x, y, z ) o5 = createObject ( 2060, x, y, z ) o6 = createObject ( 2060, x, y, z ) o7 = createObject ( 2060, x, y, z ) o8 = createObject ( 2060, x, y, z ) o9 = createObject ( 2060, x, y, z ) o10 = createObject ( 2060, x, y, z ) o11 = createObject ( 2060, x, y, z ) o12 = createObject ( 2060, x, y, z ) o13 = createObject ( 2060, x, y, z ) o14 = createObject ( 2060, x, y, z ) o15 = createObject ( 2060, x, y, z ) o16 = createObject ( 2060, x, y, z ) o17 = createObject ( 2060, x, y, z ) o18 = createObject ( 2060, x, y, z ) o19 = createObject ( 2060, x, y, z ) o20 = createObject ( 2060, x, y, z ) o21 = createObject ( 2060, x, y, z ) o22 = createObject ( 2060, x, y, z ) o23 = createObject ( 2060, x, y, z ) o24 = createObject ( 2060, x, y, z ) o25 = createObject ( 2060, x, y, z ) o26 = createObject ( 2060, x, y, z ) o27 = createObject ( 2060, x, y, z ) o28 = createObject ( 2060, x, y, z ) o29 = createObject ( 2060, x, y, z ) o30 = createObject ( 2060, x, y, z ) o31 = createObject ( 2060, x, y, z ) o32 = createObject ( 2060, x, y, z ) o33 = createObject ( 2060, x, y, z ) o34 = createObject ( 2060, x, y, z ) o35 = createObject ( 2060, x, y, z ) o36 = createObject ( 2060, x, y, z ) o37 = createObject ( 2060, x, y, z ) o38 = createObject ( 2060, x, y, z ) o39 = createObject ( 2060, x, y, z ) o40 = createObject ( 2060, x, y, z ) o41 = createObject ( 2060, x, y, z ) attachElements ( o1, wal, -0.5, -0.1 , -0.35 ) attachElements ( o2, wal, 0.5, -0.1 , -0.35 ) attachElements ( o3, wal, -0.5, -0.6 , -0.35 ) attachElements ( o4, wal, 0.5, -0.6 , -0.35 ) attachElements ( o5, wal, -0.5, -1.1 , -0.35 ) attachElements ( o6, wal, 0.5, -1.1 , -0.35 ) attachElements ( o7, wal, -0.5, -1.6 , -0.35 ) attachElements ( o8, wal, 0.5, -1.6 , -0.35 ) attachElements ( o9, wal, -0.5, -2.1 , -0.35 ) attachElements ( o10, wal, 0.5, -2.1 , -0.35 ) attachElements ( o11, wal, -0.5, -2.55 , -0.35 ) attachElements ( o12, wal, 0.5, -2.55 , -0.35 ) attachElements ( o13, wal, -0.5, -0.1 , -0.1 ) attachElements ( o14, wal, 0.5, -0.1 , -0.1 ) attachElements ( o15, wal, -0.5, -0.6 , -0.1 ) attachElements ( o16, wal, 0.5, -0.6 , -0.1 ) attachElements ( o17, wal, -0.5, -1.1 , -0.1 ) attachElements ( o18, wal, 0.5, -1.1 , -0.1 ) attachElements ( o19, wal, -0.5, -1.6 , -0.1 ) attachElements ( o20, wal, 0.5, -1.6 , -0.1 ) attachElements ( o21, wal, -0.5, -2.1 , -0.1 ) attachElements ( o22, wal, 0.5, -2.1 , -0.1 ) attachElements ( o23, wal, -0.5, -2.55 , -0.1 ) attachElements ( o24, wal, 0.5, -2.55 , -0.1 ) attachElements ( o25, wal, -0.5, -0.1 , 0.1 ) attachElements ( o26, wal, 0.5, -0.1 , 0.1 ) attachElements ( o27, wal, -0.5, -0.6 , 0.1 ) attachElements ( o28, wal, 0.5, -0.6 , 0.1 ) attachElements ( o29, wal, -0.5, -1.1 , 0.1 ) attachElements ( o30, wal, 0.5, -1.1 , 0.1 ) attachElements ( o31, wal, -0.5, -1.6 , 0.1 ) attachElements ( o32, wal, 0.5, -1.6 , 0.1 ) attachElements ( o33, wal, -0.5, -2.1 , 0.1 ) attachElements ( o34, wal, 0.5, -2.1 , 0.1 ) attachElements ( o35, wal, -0.5, -2.55 , 0.1 ) attachElements ( o36, wal, 0.5, -2.55 , 0.1 ) attachElements ( o37, wal, 0, -0.35 , 0.35 ) attachElements ( o38, wal, 0, -0.85 , 0.35 ) attachElements ( o39, wal, 0, -1.35 , 0.35 ) attachElements ( o40, wal, 0, -1.85 , 0.35 ) attachElements ( o41, wal, 0, -2.35 , 0.35 ) setTimer ( fix, 1500, 1 ) end addCommandHandler ( "sacwal1", sacWal1) -- delete the bags function sacWal10 ( player, cmd ) local wal = getPedOccupiedVehicle(player) local x,y,z = getElementPosition( wal ) destroyElement ( o1 ) destroyElement ( o2 ) destroyElement ( o3 ) destroyElement ( o4 ) destroyElement ( o5 ) destroyElement ( o6 ) destroyElement ( o7 ) destroyElement ( o8 ) destroyElement ( o9 ) destroyElement ( o10 ) destroyElement ( o11 ) destroyElement ( o12 ) destroyElement ( o13 ) destroyElement ( o14 ) destroyElement ( o15 ) destroyElement ( o16 ) destroyElement ( o17 ) destroyElement ( o18 ) destroyElement ( o19 ) destroyElement ( o20 ) destroyElement ( o21 ) destroyElement ( o22 ) destroyElement ( o23 ) destroyElement ( o24 ) destroyElement ( o25 ) destroyElement ( o26 ) destroyElement ( o27 ) destroyElement ( o28 ) destroyElement ( o29 ) destroyElement ( o30 ) destroyElement ( o31 ) destroyElement ( o32 ) destroyElement ( o33 ) destroyElement ( o34 ) destroyElement ( o35 ) destroyElement ( o36 ) destroyElement ( o37 ) destroyElement ( o38 ) destroyElement ( o39 ) destroyElement ( o40 ) destroyElement ( o41 ) setTimer ( fix, 1500, 1 ) end addCommandHandler ( "sacwal10", sacWal10) -- fix the vehicle function fix () local wall = getPedOccupiedVehicle(source) fixVehicle ( wall ) end
-
Working:) beer for you! no problem man
-
may be triggerServerEvent ( "mojevent", getRootElement(), rsky,gsky,bsky,rwat,gwat,bwat,h1,m1) or you can getLocalPlayer() that was just a player and not at all.
-
папробуй переустанови мта или скачай по новее версию от сюда https://nightly.multitheftauto.com/ может быть проблема решится думаю, что это слишком радикально пока, да и не факт, что срабоает. но за ссылку спасибо. а вот ещё вопрос: допустим есть у меня какая-то карта, но её мета данные куда-то похерились. можно как-то их восстановить или уже все? не совсем понимаю тебя
-
возможно это не баг т.к у тебя туда не помещается полное слово