Jump to content

rocky168

Members
  • Posts

    4
  • Joined

  • Last visited

Details

  • Gang
    grove

rocky168's Achievements

Vic

Vic (3/54)

0

Reputation

  1. Thanks for your help guys , can you suggest me a good base mode to start for my gamemode I am not looking for the ones the servers are running like race, zombie, RPG. Thank you
  2. If the player didn't input the vehiclemodel then it will return outputChatBox("Failed to create vehicle.",thePlayer) right?
  3. Thanks guys , found this on wiki :- function createVehicleForPlayer(thePlayer, command, vehicleModel) local x,y,z = getElementPosition(thePlayer) -- get the position of the player x = x + 5 -- add 5 units to the x position local createdVehicle = createVehicle(tonumber(vehicleModel),x,y,z) -- check if the return value was ''false'' if (createdVehicle == false) then -- if so, output a message to the chatbox, but only to this player. outputChatBox("Failed to create vehicle.",thePlayer) end end addCommandHandler("createvehicle", createVehicleForPlayer) Don't it require the vehiclemodel in addCommandHandler since createvehicleforplayer function has it?
  4. rocky168

    New here :)

    Hi guys i downloaded MTA:SA yesterday and enjoyed playing alot! I am trying to setup a server, i have experience coding in sa-mp, vc-mp, lu and little apps and websites (many languages) so all i need to know is where to start and a place where i can get a good gamemode to start. thank you
×
×
  • Create New...