- 
                Posts158
- 
                Joined
- 
                Last visited
Everything posted by villr
- 
	got some problems here with this i dont know how to fix it shows this on the serverside is it this error bad argument at addeventhandler client function damageCheck(attacker, weapon) if(weapon == 5)then triggerServerEvent("movePlayerOnBatHit", getLocalPlayer(), getLocalPlayer()) end end addEventHandler("onClientPlayerDamage", getRootElement(), damageCheck) server function movePlayer(source) x, y, z = getElementPosition(source) setElementPosition(source, x + 20, y + 50, z + 80) end addEvent("movePlayerOnBatHit", true) addEventHandler("movePlayerOnBatHit", player, movePlayer)
- 
	Well well then i need to use the "bank" by 50p beacse i dont get any banks to come so and yea,i wanted to change because the bank script is some outdated of him so the gui get stuck and that,but yours is really cool but i cant use it
- 
	Could you try to download the one from community and see if its that one if you maybe by misstake removed something?
- 
	No i dident have done anything to it I dont get whats the problem with it,i did unrar it,should i leave it in a zip?
- 
	hmm this dosent works for me and i get this : ERROR: Client triggered serverside event JRBank_onPlayerResourceDownloaded, but event is not added serverside It works for MTA 1.1 right?
- 
	Got it working now,thx guys
- 
	It dosent's set back my camrea so idk if it worked.
- 
	JR10: your code diden work attempt to perform arithmetic on local 'z' (a nil value) Castillo: yours did work half it do froze but when its over it do kill me and then this come Bad argument @ 'setElementFrozen' it
- 
	hmm could you give me a clue how i can do the moving?
- 
	hey guys i got a big trouble now,i have maked a newsstudio and camrea script and yea this thigns but i have seen a problem,that when i make the cam set back the player do fall underground at the posistion they where how can i fix that? client solved and serverside solved end somebody can help me? plz
- 
	i got a problem when i did this setTimer(setPedAnimation(carla),5000,1) have i putted something wrong or what? its serverside
- 
	did remove it by misstake but it's have been there
- 
	hello i got some problems with a teleport i did, i made it in itneriro 1 and dimension 1 but if i enter the teleport in dimension 0 or any other it still teleports me local AWAYInterior1= createMarker (845.54,-1249.89,6.5, "arrow", 1.5,255,255,0) setElementDimension(AWAYInterior1,1) setElementInterior(AWAYInterior1,3) function Leaveint2( hitPlayer, matchingDimension ) setTimer(setElementPosition,1000,1,hitPlayer,372.117,163.04,1025.78) setElementDimension(hitPlayer,0) setElementInterior(hitPlayer,0) fadeCamera(hitPlayer,false,1 ) setTimer(fadeCamera,1000,1,hitPlayer,true,5 ) end addEventHandler( "onMarkerHit",AWAYInterior1,Leaveint2 ) anyone know what i did wrong??
- 
	i want it come back where it spawned.
- 
	your code dident work it dont have any posiston of the car so it cant set it back.
- 
	the problem is that you need to get so long away from the car and then it have respawn..
- 
	have anybody played saes? they got something so they can make all cars that nobody are in to respawn somehow without blow them i think. somebody out there that knows how? castillos script was best but noth enough beacuse u needed to go away veeery long for making it respawn. i really need this script beacuse we are recreating a big stunt server from samp and we got so many players and they need cars
- 
	i dont want to blow all cars just the cars that its no peoples in.. and isent there anyway to make it go back without exploding it?
- 
	this will look nooby beacuse im a noob in scripting but how can i make so a car that nodoy have been in for maybe 20 seconds? how do i make it respawn? or else if i can get help so i can do with a command so the idle cars get back? any tips helps codes?
- 
	I could see what they say about it
- 
	Could you ask him if he can help me somehow?
- 
	Ah crap did you script them?

 
        