Jump to content

yurifoborghi

Members
  • Posts

    2
  • Joined

  • Last visited

yurifoborghi'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. Well, I've been helped in the script to fix all the cars from a race server. Now, I need help creating a script that put a ramp in front of all survivors of the race. The script that I have used to put the ramp in front of just one car, but I need one that put a ramp in front of all cars. This is the script that I have: *Script removed. Can someone help me create this script?
  2. I'm creating a script than fix all cars in the server (A race server). I have a script than fix 1 only car, but I want to fix all. This is the script than fix 1 only car: ------------------------------------------------------------ function st3reo6 (thePlayer, commandName, ...) player = findPlayer(...) if not player then outputChatBox("* /fix: player not found", thePlayer) elseif isPedInVehicle(player) then local vehicle = getPedOccupiedVehicle(player) fixVehicle(vehicle) outputChatBox( getPlayerName(thePlayer).. " Fix Vehicle " ..getPlayerName(player), getRootElement(), 255, 255, 0, true) end end addCommandHandler("fix", st3reo6) function findPlayer(namepart) for i, player in ipairs(getElementsByType("player")) do local name = getPlayerName(player) if string.find(name:lower(), namepart:lower(), 1, true) then return player, name end end return false end -----------------------------------------------------
×
×
  • Create New...