-
Posts
181 -
Joined
-
Last visited
Everything posted by xScatta
-
Still dont works nothing happens!
-
Dont works when i enter to marker nothing happens
-
Hey guys code here problem under code. CODE REMOVED i want to make a marker then if player is staying in it then he gets 15 money for 5 seconds staying and if he leave then it dont get money and i want to anyone stay for their own money because when many players stay and run above the marker then it bugs and everyone who been in marker once is getting money without staying in it! help please! code!
-
Example: function kickplayer(thekicker,kickplayer,playertarget,reason) playerkicked = getPlayerFromName(playertarget) if ( playerkicked ) then kickPlayer(playerkicked,thekicker,reason) else outputChatBox("That player doesn't exist",thekicker) end end addCommandHandler("kickplayer",kickplayer)
-
I dont know what u mean by "espesifico".
-
Working. Thank very much
-
Hey guys i maked his script error below CODE REMOVED But when the player dont have owner serial he still can drive the vehicle. no messages in debugscript 3.
-
I Give up i tried . I cant do shit.
-
But how. Show me an example someone.;-;
-
From here. https://wiki.multitheftauto.com/wiki/IDE_List
-
2. You dont understand ... I DONT WANNA TO WRITE 200 IDS...
-
1. How to use Shaders!? To replace txd's. 2. But along you dont listen to me... "HERE I STOP BECAUSE I NEEDED TO IMPORT 200 TXD's" I still must to add 200txd's ids to the "ids1" . I wanna make it faster ... *BUMP* Still need help.
-
Hey guys my problem is that. I want to replace an TXD because i have only TXD and if i search for that txd i must replace then appears many dff's and id's its there any way which can be faster. because when i see 20 lines then i just tried i maked txd1 = engineLoadTXD ( "des_ne.txd" ) engineImportTXD ( txd1, 16103 ) engineImportTXD ( txd1, 16171 ) engineImportTXD ( txd1, 16172 ) engineImportTXD ( txd1, 16173 ) engineImportTXD ( txd1, 16174 ) engineImportTXD ( txd1, 16176 ) engineImportTXD ( txd1, 16177 ) engineImportTXD ( txd1, 16178 ) engineImportTXD ( txd1, 16179 ) engineImportTXD ( txd1, 16180 ) engineImportTXD ( txd1, 16181 ) engineImportTXD ( txd1, 16182 ) engineImportTXD ( txd1, 16183 ) engineImportTXD ( txd1, 16184 ) engineImportTXD ( txd1, 16185 ) engineImportTXD ( txd1, 16186 ) engineImportTXD ( txd1, 16187 ) engineImportTXD ( txd1, 16188 ) engineImportTXD ( txd1, 16189 ) engineImportTXD ( txd1, 16190 ) engineImportTXD ( txd1, 16191 ) engineImportTXD ( txd1, 16255 ) engineImportTXD ( txd1, 16256 ) engineImportTXD ( txd1, 16257 ) engineImportTXD ( txd1, 16684 ) engineImportTXD ( txd1, 16685 ) -- NEXT -- txd2 = engineLoadTXD ( "lod_countn2.txd" ) -- HERE I STOP BECAUSE I NEEDED TO IMPORT 200 TXD's Help please!
-
Some error there because when i have nick xScatta then use /vehicle is it working but when i change name to xScattax and /vehicle its working too but when i rename my nick to xScatta again then i cannot drive xScatta car...
-
Hey guys my code here. names = {} vehicles ={} function carown(playerSource,vehicle) playerName = getPlayerName(playerSource) names[playerSource] = getPlayerName(playerSource) x, y, z = getElementPosition(playerSource) vehicles[vehicle] = createVehicle(411,x,y+2,z) setElementID(vehicles[vehicle],"abc") end function save(playerSource,vehicle) if getElementModel(source)==411 then if seat==0 then if getElementID(source)=="abc" then if getPlayerName(playerSource)==names[playerSource] then setVehicleEngineState(vehicles[vehicle],true) else outputChatBox("Only "..names[playerSource].." can drive this vehicle.",playerSource) setVehicleEngineState(vehicles[vehicle],false) end end end end end addCommandHandler("vehicle",carown) addEventHandler("onVehicleEnter",getRootElement(),save) Error is here because if i have nick other than allowed i still can drive the car.
-
Oh okay i will do it easier. I want to do something like this carm = createVehicle(579,1703.19,1039.09,10.89,0,0,90) function car() vehiclem = getVehicleName(carm) vehiclec = getVehicleController(carm) if vehiclem=="huntley" then outputChatBox("Teraz zawiez to auto do miejsca oznaczonego na mapie literka T", vehiclec) createBlip(1235.79,212.88,19.55,255,0,0,255,0,99999.0,vehiclec) end end addEventHandler("onClientPlayerVehicleEnter",carm,car) function check() if vehiclec=="player" then end end in the check function i want to make after "then" in "if vehiclec=="player" then" line a code which will run "car()" function.
-
Hey guys. I have an problem because i want to call function with function like that function lol() if getVehicleController(blabla)=="player" -- this no matter -- then -- and there i want to call another function in the same script.lua-- my code carm = createVehicle(579,1703.19,1039.09,10.89,0,0,90) function car() vehiclem = getVehicleName(carm) vehiclec = getVehicleController(carm) if vehiclem=="huntley" then outputChatBox("Teraz zawiez to auto do miejsca oznaczonego na mapie literka T", vehiclec) createBlip(1235.79,212.88,19.55,255,0,0,255,0,99999.0,vehiclec) end end addEventHandler("onClientPlayerVehicleEnter",carm,car) function check() if vehiclec=="player" then --HERE I WANT TO CALL car() function!-- end end Please fast post guys
-
Make it easier to make yours own turfs and make it english.
-
Ok it works thanks! But what means "relative"?