Jump to content

Walkerzer4

Members
  • Posts

    3
  • Joined

  • Last visited

Walkerzer4'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. Solved, the problem was in my gamemode. Thanks for all.
  2. The error does not happen, but the player does not receive the weapon.
  3. Hello, I'm trying to put a level system that gives rewards every time the player spawn on my mta dayz server, but I'm having an error. I'm not getting the gun and it's giving that error. Error: Bad argument @ 'setElementData' [Expected element at argument 1, got number '1544.5' Client: function GiveItemOnSpawn () if getElementData(localPlayer, "level") == 1 then triggerServerEvent ("LEVEL1",localPlayer) end end Server: function GiveItemOnSpawn (player) setElementData(player, "M4A1 CCO", 1) outputChatBox("Test!", playersource, 255, 255, 255, true) end addEvent ("LEVEL1",true) addEventHandler ("LEVEL1",getRootElement(),GiveItemOnSpawn ) addEventHandler("onPlayerSpawn",getRootElement(), GiveItemOnSpawn) Thanks.
×
×
  • Create New...