Jump to content

EsdrasAslc

Members
  • Posts

    3
  • Joined

  • Last visited

About EsdrasAslc

  • Birthday August 21

Details

  • Location
    Salvador - BA
  • Occupation
    Estudando Dev Web ( HTML, CSS e JS)
  • Interests
    LUA, Python, JavaScript

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

EsdrasAslc's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. Opa! Eu estive criando um script para criar um pickup para setar skin em um player, porém, o pickup não está sendo criado no mapa, alguem consegue me ajudar? Obs: as linhas 2 e 3 estão como anotação pois é para ser criado no mundo sem interior/dimensão. Porém eu coloquei no script para facilitar para quando eu for criar outro pickup marker = createPickup ( 1543.9857177734, -1353.2233886719, 329.47445678711, 3, 1275, 1000 ) -- setElementInterior ( marker, 0) -- setElementDimension ( marker, 0) function pickupskin ( thePlayer ) setElementModel ( thePlayer, 312 ) end addEventHandler ( "onPickupUse", getRootElement (marker) , pickupskin )
  2. Eu fiz esse script para adicionar um player em ACL de vip, porém ele não está adicionando no ACL Grupo = "VIP" function Ativarvip (accountName, playerSource, commandName ) if accountname = getAccountName(getPlayerAccount(thePlayer)) then aclGroupAddObject (aclGetGroup( Grupo ), "user."..accountName) outputChatBox ("O Jogador "..accountName.." Adquiriu um VIP em nosso Servidor", playerSource) else outputChatBox ("Não Existe Jogador com esse Nome.", playerSource) outputChatBox ("Correct syntax: /ativarvip (Nome)", playerSource) end addCommandHandler = ("ativarvip", Ativarvip) alguém pode me indicar qual o erro?
  3. Bom pessoal. eu tenho um carro para todas as facções do servidor, ai eu queria variar os carros por cor. porem eu não sei como deixar fixo a cor do carro já de spawn. Favor ignorem as posições iniMarker = createMarker( 2529.766, -1571.396, 25.567, "cylinder", 2.5, 255,255,255,50) destroyM = createMarker( 2535.796, -1572.035, 25.567, "cylinder", 2.5, 255,0,0,100) function msg(player) outputChatBox("#ff0000Voce Pegou Um Carro Do #000000(fac)", player, 255,255,255,true) end addEventHandler("onMarkerHit", iniMarker, msg) veh = {} function spawnVehicle(player) if isElementWithinMarker(player, iniMarker) then if veh[player] and isElement( veh[player] ) then destroyElement(veh[player]) veh[player] = nil end veh[player] = createVehicle(585, 2530.2875976563,-1559.9366455078,25.567188262939) warpPedIntoVehicle(player, veh[player]) end end addEventHandler("onMarkerHit", iniMarker, spawnVehicle) function msgDestroy(player) outputChatBox("#ff0000Voce Destroiu o Carro Do #000000(fac)", player, 255,255,255,true) end addEventHandler("onMarkerHit", destroyM, msgDestroy) function destroy(player) if isElementWithinMarker(player, destroyM) then if isPedInVehicle(player) == true then destroyElement(veh[player]) outputChatBox("", player, 255,255,255,true) else outputChatBox("", player, 255,255,255,true) end end end addEventHandler("onMarkerHit", destroyM, destroy)
×
×
  • Create New...