Jump to content

Kraig Hellsing

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Kraig Hellsing

  • Rank
    I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

Details

  • Gang
    Werewolf
  1. I did some work on it by myself and here's what i've accomplished so far: Server-Side function reward(p) if getElementType ( p ) == "ped" then local carro = getVehicleOccupant(getPedOccupiedVehicle(p), 0) givePlayerMoney(carro, 1000) destroyElement(p) outputChatBox("Perp has been turned in and you earned $1000!", carro, 0,255,0) end end policem = createMarker(1586,-1677,5, "cylinder", 5, 255, 0, 0, 170) addEventHandler("onMarkerHit", policem, reward) function teste(p) local x,y,z = getElementPosition(p) local pedestre = createPed(23, x,y,z) end addCommandHandler("teste", teste)
  2. This is my first post, so forgive me if i make any mistakes! I'm creating a Police Script where i get to a random Ped and type a command(i'll change it to bind later) and it creates a Marker attached(0,1,0) to the Source that if it touches the Ped will activate a function that makes him follow the Marker. And this is the function so far: Everything is Server-Side (because i suck at Client-Side) function func1(p) local x,y,z = getElementPosition(p) Marker = createMarker(x, y, z, "cylinder", 1, 255, 0, 0, 170) attachElements(Marker,p, 0,1,0) addEventHandler("onMarkerHit", Marker, f
×
×
  • Create New...