xXGhostXx
Members-
Posts
257 -
Joined
-
Last visited
Everything posted by xXGhostXx
-
Thanks, how can i set 2 faction for some cars. for example police department and federal police can enter the "Police" vehicle but Medic cant enter the car.
-
Thanks but i want [1] for faction id and "Police" element car id. If my faction id = 1 for enter "Police" car id or if my faction id = 2 for enter "Medic" car id.
-
Hi guys. What is problem in my table ? local FacVehsTable = { { 1, "Police" }, { 2, "Medic" }, } function FactionVehEnter ( player, seat, jacked ) if seat == 0 then local vehid = getElementID ( source ) local faction = getElementData(player, "faction") if vehid == FacVehsTable[faction][2] then if faction ~= FacVehsTable[faction][1] then cancelEvent() outputChatBox ( "#ff0000This is faction vehicle!, player, 230,0,0 ,true) end end end end addEventHandler ( "onVehicleStartEnter", getRootElement(), FactionVehEnter ) I want when player enter the faction cars if not "faction" element data player == faction id vehicles then cancelEvent
-
https://wiki.multitheftauto.com/wiki/ShowingImage I cant find it
-
How to use event handler ? For trigger server to client for remove image .
-
Hi guys. I have a question. How can i make image on player screen and delete image
-
Thanks for your help
-
Dear thanks but i want don't repeated animation but this just stop animation after 1 play animation : sit setPedAnimation(thePlayer,"sunbathe","parksit_w_in",-1,false, false, false, false)
-
You can give me code ?
-
Hi guys. What is problem in my codes ? Animation repeated but i want dont repeated ! setPedAnimation(source,"shop","smoke_ryd",-1,true, false, false, false)
-
Guys i want healthy function for make Insurance system. Guys please see a my problems : function BimeKamKon () outputChatBox("ee") end addEventHandler("onVehicleExplode", getRootElement(), BimeKamKon) 2 Chat box sended
-
Guys what is problem in my code ? function onVehicleRespawn ( exploded ) if ( exploded == true ) then outputChatBox("1") end end addEventHandler ( "onVehicleRespawn", getRootElement(), onVehicleRespawn )
-
Please fix it
-
Please help me
-
Dear, i want when vehicle exploding 1 chat box sended no 2 chat box.
-
Intended for example : thePlayer or ... My main problem : chat box in my script 2 times send but i want 1 times send chat box!
-
Hello guys, I am making an script with onVehicleExplode function. What is problem in my code? Chat box 2 send for player? and how can i send chat box for intended person ? function Test () if getElementData(source,"owner") then outputChatBox("ID: "..getElementData(source, "vehicleID")) end end addEventHandler("onVehicleExplode", getRootElement(), Test) Thanks.
-
hey guys what is problem in my this code ? addEvent("getTicket",true) addEventHandler("getTicket", root, function() setElementInterior(client, 1) setElementPosition(client, 1.76953125 ,28.478515625 ,1199.59375) outputChatBox("#00ff00You are now in air plane!", client, 255, 255, 255, true) setTimer( function() setElementInterior(client, 0) setElementPosition(client, 1685.8193359375 ,-2237.5400390625 ,13.546875) outputChatBox("#00ff00Welcome To Los Santos!", client, 255, 255, 255, true) end, 60000, 1) end) I buy a ticket and i teleport to air plane but after 1 min i'm not going to los santos !
-
hey guys . how can i get combo selected text ?
-
Hello How to freeze gui window ? Please give me function name ! tnx
-
You can create for me with colshape ? I want table
