Jump to content

dagid4

Members
  • Posts

    2
  • Joined

  • Last visited

Details

  • Gang
    evil

dagid4'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. Thank you, thank you, thank you. It is working! I solve this problem all the day. You very help me. Script: function BuyTractor (thePlayer) theGuy = getLocalPlayer() local money = getPlayerMoney(theGuy) if (money >= 5000) then takePlayerMoney (5000) local vehicleModel = 572 local x,y,z = getElementPosition(theGuy) y = y + 5 createVehicle(tonumber(vehicleModel),x,y,z) end end
  2. Please help. I can't make this simple script. I have got GUI button, button is working, but handler on it (createVehicle) isn't. Client script handler: function BuyTractor (thePlayer) local money = getPlayerMoney(thePlayer) if (money >= 5000) then takePlayerMoney (5000) local vehicleModel = 572 local x,y,z = getElementPosition(thePlayer) y = y + 5 createVehicle(tonumber(vehicleModel),x,y,z) end end What is wrong? Sorry for my english, im not very good in it.
×
×
  • Create New...