golanu21
Members-
Posts
650 -
Joined
-
Last visited
Everything posted by golanu21
-
function createped (player, modelid, x1, y1, z1) if modelid and x1 and y1 and z1 then ped1 = createPed ( modelid, x1, y1, z1) setPedFrozen ( ped1, true) else outputChatBox("[invalid Syntax]: /createped [modelid] [x] [y] [z]", player, 255, 0, 0 ) end end addCommandHandler("createped", createped)
-
I make a teleport system in game, You can make in game markers to teleport Special Thanx : "DNL291" and "Axel" Download : https://community.multitheftauto.com/ind ... ls&id=6647
-
function crmarker (player, cmd, x1, x2, x3 ) local x, y, z = getLocalPlayer (player) if cmd == "createmarker" then x1 = tonumber( x1 ) x2 = tonumber( x2 ) x3 = tonumber( x3 ) if x1 then if x2 then if x3 then marker1 = createMarker ( x, y, z, "cylinder", 255, 0, 0 ) marker2 = createMarker ( x1, x2, x3, "cylinder", 255, 0, 0 ) else outputChatBox ("[invalid Syntax]: /crmarker [x1], [x2], [x3] ", player, 255, 0, 0 ) end end end end end addCommandHandler("createmarker", crmarker)
-
instead of vehicle, put annother, for the example : theVehicle
-
i want to make this : When the police shoot the player with wantedlevel > 0, the player to follow automatly the police
-
outputChatBox ( "> replacing billboards" ) txd_floors = engineLoadTXD ( "bb.txd" ) engineImportTXD ( txd_floors, 9188 ) the model is original,
-
is not dificult!!!, it's easy!! , thanx
-
OGF@: like replacing billboards? adding your own? Yeas
-
i want to make ads on the wall of san andreas..how i make that : Exxample : SAUR GAMING
-
wtf .. i pput it in server side, but his took my money and then give me this error [13:27:05] WARNING: Gamemode\fixveh.lua:9: Bad argument @ 'fixVehicle'
-
when is need to put : server side or client side ?
-
Try again i've fix it no, is not working
-
not work... the marker is created but when i hit it , nothing
-
local x, y, z = 1361.099609375, -1658.7998046875, 12.39999961853 fixmark = createMarker ( x, y, z, "cylinder", 3, 0, 255, 0, 255 ) function fixveh ( thePlayer ) local theVehicle = getPedOccupiedVehicle (thePlayer) money = getPlayerMoney ( thePlayer ) if (money) > 4999 then fixVehicle ( theVehicle ) takePlayerMoney ( thePlayer, 5000 ) end end addEventHandler ( "onMarkerHit", fixmark, fixveh ) not work. no errors .. nothing
-
"Everyone"> "Default"> "user.*"> "resource.*">
-
function giveMoney(thePlayer) local vehicle = getPedOccupiedVehicle (thePlayer) local id = getElementModel(vehicle) if id == 431 or 437 then local gpm = getElementData(thePlayer, "buszp") if ((gpm) > 0 ) then givePlayerMoney(thePlayer, tonumber(gpm)) outputChatBox("Ai castigat " .. gpm .. "$", thePlayer, 0, 140, 240) setElementData(thePlayer, "buszp", 0) end end end addEventHandler("onVehicleExit", rootElement, giveMoney) addEventHandler("onPlayerQuit", rootElement, giveMoney) [12:45:09] WARNING: Gamemode\busjob\busjob.lua:3: Bad argument @ 'getElementModel' [Expected element at argument 1, got boolean] Ai fost angajat ca Bus Driver!
-
And, how you make to move in circle ???
-
how i make the movable text??.. SAUR . LoginSystem for example
