
^Dev-PoinT^
Members-
Posts
313 -
Joined
-
Last visited
Everything posted by ^Dev-PoinT^
-
i run it it say @'getPlayerName'[Expected element at argument 1, got boolean]
-
Copy Your Code? i made it i swear ! but Thx For Fix i know My errors
-
Hi all i made This is it Correct or Not and fix it To Know My errors function onKill(ammo, killer, weapon, bodypart) if (killer and killer ~= source) then local x,y,z = getElementPosition(source) createExpliosion (x,y,z, 10) --- TankGreande outputChatBox("You Have Been Explode by..getPlayerName..(killer)"),getRootElement(),255,255,0, true) end addEventHandler ("onPlayerWasted",getRootElement(), onKill)
-
Holsten = BlaBlaBla stop the mombo jombo Thin
-
Hi all i suggest to put Anti-Hack Powerful! and anti-Skins Bug some Noob add in gta3.img some skins small .... and get Lagey then the server is shit and fix the lag on Some maps like arena 20 and arena 30 its so mutch lagy and fix the wall bug i can see the Playrs throw it and if i have any idea i put so more
-
Thx All i Fix it thx For Help by the way
-
i have error in This iam stuck on it function onKill(ammo, killer, weapon, bodypart) if (killer and killer ~= source) then setPlayerWantedLevel ( thePlayer, 3 ) outputChatBox ( getPlayerName ( killer ) .. "#FFFF00Has Kill a Player and Have 3 Stars!!" ) addEventHandler("onPlayerWasted", getRootElement(), onKill)
-
Hey i have 13 images and i made This Code is it Right ? i put Then in data/ local x,y = guiGetScreenSize() local image = guiCreateStaticImage ( x/4, y/5.8, 415,67, "images/H"..math.random(1,13)..".png", false ) guiSetVisible ( image, false ) function headshot (ammo, killer, killerweapon, bodypart ) if (killer == localPlayer) and (killer ~= source ) then guiSetVisible ( image, true ) guiStaticImageLoadImage(image, "images/H"..math.random(1,13)..".png") setTimer (guiSetVisible, 5000, 1, image, false ) end end addEventHandler ( "onClientPlayerWasted", getRootElement(), headshot )
-
and i say your code dont work? your code work but we all here To Help each other
-
how about This? function vehicle(thePlayer, command) local x, y, z = getElementPosition(thePlayer) local myShit = createVehicle ( 411, 0, 0, 0 ) local spawnVeh = spawnVehicle ( myShit, x+3, y+3, z ) if spawnVeh then outputChatBox("Vehicle was spawned!", thePlayer)else outputChatBox("Error!!",thePlayer) end end addCommandHandler("spawnvehicle", vehicle)
-
see my post!
-
Try This local distance = 5 function consoleCreateVehicle ( sourcePlayer, commandName, ... ) if ( sourcePlayer ) then local x, y, z = getElementPosition ( sourcePlayer ) local rotZ = getPedRotation ( sourcePlayer ) x = x + ( ( math.cos ( math.rad ( rotZ ) ) ) * distance ) y = y + ( ( math.sin ( math.rad ( rotZ ) ) ) * distance ) local vehicleName = table.concat({...}, " ") local vehicleID = getVehicleModelFromName ( vehicleName ) if vehicleID then local newVehicle = createVehicle ( vehicleID, x, y, z, 0, 0, rotZ ) if not newVehicle then outputConsole ( "Failed to create vehicle.", sourcePlayer ) end end end end addCommandHandler ( "createvehicle", consoleCreateVehicle )
-
you mean Like This ? function xxx (thePlayer) local pname = getPlayerName(thePlayer) setElementData(thePlayer,"Score",0) setElementData(thePlayer,"kills",0) setElementData(thePlayer,"deaths",0) setElementData(thePlayer,"dmg",0) setElementData(thePlayer,"Damage",0) setElementData(thePlayer,"level",0) setElementData(thePlayer,"exp",0) outputChatBox(pname.."Has Format His Score", getRootElement(), 255, 255, 0, true ) end addCommandHandler("rest", xxx)
-
Hi i always get error in getPlayerName + setElementData see function xxx () pname = getPlayerName() setElementData(thePlayer,"Score",0) setElementData(thePlayer,"kills",0) setElementData(thePlayer,"deaths",0) setElementData(thePlayer,"dmg",0) setElementData(thePlayer,"Damage",0) setElementData(thePlayer,"level",0) setElementData(thePlayer,"exp",0) outputChatBox(getPlayerName.."Has Format His Score", getRootElement(), 255, 255, 0, true ) end addCommandHandler("rest", xxx)
-
Try This function cMarker (thePlayer, commandName) if (thePlayer) then local x,y,z = getElementPosition (thePlayer) local theMarker = createMarker ( x,y,z, "arrow", 1.5, 255, 255, 0, 255, getRootElement()) if (theMarker) then outputChatBox ("Entry Marker Created", thePlayer) else outputChatBox ("Failed to Create Marker", thePlayer) end end end addCommandHandler ("createentrymarker", cMarker)
-
use This https://wiki.multitheftauto.com/wiki/OnClientGUIClick
-
TAPL The Skin show on mta1.0.5 but 1.1 is shit
-
Are you stupid or what? The CancelEvent delete the word ! You Are Really Noob!
-
No my firnds can see the new skin but me no
-
txd only and its blow color
-
i start it but it dont show my skin it show the defult skin see
-
Like This function onchat(text) if text == "fuc_k" then local lines = getChatboxLayout()["chat_lines"] for i=1,lines do cancelEvent end end end addEventHandler("onClientChatMessage", getRootElement(), onchat)
-
Hey all i have Made This to Replace 60 skin for my server i start it but it show the orgnal one function xxx () txd = engineLoadTXD("data/60.txd") engineReplaceModel ( txd, 60 ) engineImportTXD(txd, 60) end addEventHandler( "onClientResourceStart", getLocalPlayer ( ), xxx )
-
Thx SoldSnake14 Work Fine