-
Posts
313 -
Joined
-
Last visited
Everything posted by MAB
-
What to do for the best CPU ? What functions i should avoid and what to replace it with? How to make a custom name tag? like the green one in DayZ servers? How to remove the color hex code from a player name? How to remove all the traffic and light pillars from GTA SA map forever? How to make a color picker?
-
Can you please delete this topic? It is by me.
-
The problem was with the position... totally strange... i replaced the 6 images with other 6 images.. and guess what? the same white things for the one that replaces the old 2 images that got that position ... i moved them 10 X and the white things gone
-
I still don't undeerstand how to use createTexture or how to slove my problem
-
i am drawing this image and this image but there are 2 strange white things at its start and its end i drew 2 more couple of images like this but it don't have white things they have the same size dxDrawImageSection(x*890,y*67,50,(health/2)*-1,0,0,50,(health/2)*-1,"hi.png") dxDrawImage(x*890, y*17, 50, 50, "ho.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
-
i am making a clothes shop and i put getPlayerAccount and the player is still able to enter without log in the server.... why i am setting the account data? to shortcut the scripts.. like when he enter the exiting marker i do this function out (h,m) if getElementType(h) == .. etc and m then ... etc local account = getPlayerAccount(h) local dataX = getAccountData(account,"sc.x") -- etc setElementInterior(h,0,dataX,dataY,dataZ) end end -- etc codes (server) : markers = { {x = 1456.58032,y = -1137.74512,z = 24.95742} } function createMarkers () for i = 1,#markers do m = createMarker(markers[i].x,markers[i].y,markers[i].z,"arrow",1.5,255,255,0,255) createBlip(markers[i].x,markers[i].y,markers[i].z,45) addEventHandler("onMarkerHit",m,enter) end end addEventHandler("onResourceStart",getResourceRootElement(getThisResource()),createMarkers) function enter (h,m) if getElementType(h) == "player" then if m then if isPedInVehicle(h) == false then local x,y,z = getElementPosition(h) local account = getPlayerAccount(h) if account then setElementInterior(h,18,161.44983,-94.16076,1001.80469) toggleControl(h,"fire",false) toggleControl(h,"aim_weapon",false) setAccountData(account,"sc.x",x) setAccountData(account,"sc.y",y) setAccountData(account,"sc.z",z) setPlayerHudComponentVisible(h,"radar",false) else exports["topbarchat"]:sendClientMessage("You must login before you enter this shop.",h,255,255,0,false,5) end end end elseif getElementType(h) == "vehicle" then local controller = getVehicleController (h) if controller then exports["topbarchat"]:sendClientMessage("You must login before you enter this shop.",controller,255,255,0,false,5) end end end function command (p) setElementInterior(p,0) setElementPosition(p,1461.99866,-1141.72632,24.39063) end addCommandHandler("re",command)
-
I need a skin mod for like that one and please type in his back, "MA" contact me at skype : michaelamir25 facebook : facebook.com/michaelamir25 whatsapp : +201225612253
-
what value should i put for vehicles? i can't find the list of the available values
-
Is it possible to hide the shadow of a vehicle? and mute its engine sound too?
-
like that? "theLink" download=false />
-
so all i do is to put the .mp3 in the folder without adding it in the meta then i do "playSound("http://ip:port/resourceName/fileName.mp3")" ha?
-
I got to say.. first time i see this function... looked for it for a long time...
-
Full code would be useful
-
I am making a login panel and i want to play a music on it but without loading it in the meta because it will increase the script size too much which leads to a huge download. I am arranging to play a sound from a URL so if you know how to upload a sound file to internet then use its URL to play it from the internet or play the sound of a youtube vedio please share.
-
i need to learn how not to use other scripters resources and i don't understanf your script
-
I saw amazing things at a server called Neon Carball ( mtasa://176.9.73.171:13337 ). The scripter is inactive so i couldn't ask him how did he made the mini map and the reply thing. So please, enter that server and take a look and if you know how it was maden, please, share.
-
Good Job. Thanks.
