Jump to content

Alex2112

Members
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

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

Alex2112'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. Hi, as the title says I am trying to make a script that blows vehicle at 6959 object but I want the player to be warned with a text like this one dxDrawText("Do not try to camp!", 0, 0, x, y, tocolor(255, 0, 0), 2, "pricedown", "center", "center") but I want to add SetTimer too, because players should have time to read/ and to go back to track. This is the script which I have tried to do. addEventHandler("onClientVehicleCollision", getRootElement(), function(hitElement) if source ~= getPedOccupiedVehicle(localPlayer) then return end if getElementType(hitElement) == "object" and getElementModel(hitElement) == 6959 then blowVehicle(source) end end) The problem is I do not really know where to add the DrawText and SetTimer too Thanks for helping me !
×
×
  • Create New...