^Dev-PoinT^
Members-
Posts
313 -
Joined
-
Last visited
Everything posted by ^Dev-PoinT^
-
why soldSnake trigger wont work? exports.scoreboard:scoreboardAddColumn("Points") exports.scoreboard:scoreboardAddColumn("Rank") ranks = {{[1] = "Beginner lvl 1"}, {[2] = "Beginner lvl 2"}, {[3] = "Good Player}, {[4] = "NicePlayer"}, {[5] = "ProPlayer"} function addPoints(killer, weapon, bodypart) local points = getElementData(killer, "Points") local rank = getElementData(killer, "Rank") local killername = getPlayerName(killer) local targetname = getPlayerName(source) local player = getLocalPlayer() if killer and killer ~= source then setElementData(killer, "Points", tonumber(points) + 1) setElementData(killer, "Rank", tonumber(rank) + 1) triggerServerEvent("onAddingPoints", getLocalPlayer(), killername, targetname) end end addEventHandler("onClientPlayerWasted", getLocalPlayer(), addPoints)
-
lol sry SoldSnake mybe iam lol but he want to Make a pray script it dosnt need FreezPlayer just show the image on there screens ant stop the gamemode if pray finsh stop the script
-
myonlake your code works but how to Make a tabel with level like if "Points" = 10 then SetPlayerLevel "Level1" and ....
-
the problem is i want if i kill a player i get 1 point + i want to make Level system i my points 10 = level noob if points 20 = level Player ...
-
Hi all see the code clientSide localPlayer = getLocalPlayer() exports.scoreboard:scoreboardAddColumn("Points") function onKill (ammo, killer, weapon, bodypart) if(killer and killer ~=source) then setElementData(localPlayer, "Points", +1) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()),add) function Hi() local PlayerMoney = getPlayerMoney(source) local PlyaerPoints = getElementData(getlocalPlayer(), "Points") end serverSide .. addEvent("onPlayerWasted",true) addEventHandler("onPlayerWasted",getRootElement(), function (winner) outputChatBox(getPlayerName ( winner ) .. "Killed a Player and Got 1 Point",getRootElement(),255,255,0) setElementData(winner,"Points",tonumber(getElementData(winner,"Points"))+1) end) i want it if Killer killed a Player Got 1 point and how Make a tabel with points example "Points 10" = Level Noob "Points"20 = level Player ....
-
so we dont get you what you do you want to make a shop Panel?
-
sorry SoldSnake but also dont know how to fill the argument and he man FreezPlayers Like in Mojrem-511 Shop lol
-
addEvent("freezeAllPlayers",true) addEventHandler("freezeAllPlayers",root, function() local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 1200) then for index, player in pairs(getElementsByType("player")) do if (player ~= source) then setPedFrozen(player, true) end end outputChatBox(getPlayerName(source) .." has Bought FreezPlayers",getRootElement(),255,0,0) end)
-
topsniper dont you think its the full code because its not Make Your Button with guieditor
-
thx i alredy made it and fixed it Thx all and sry for bad english
-
now its work thx for Helping me can i make the font bigeer?
-
donst work its always 0 dont show the money
-
the problem is he dosnt show the Money and the font is samll function E () local money = getPlayerMoney(localPlayer) Cashlbl = guiCreateLabel(12,54,203,20,"Cash : ~{ " .. money .. " }~",true) guiLabelSetColor(Cashlbl,255,255,255) guiLabelSetVerticalAlign(Cashlbl,"top") guiLabelSetHorizontalAlign(Cashlbl,"left",true) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), E)
-
Fixed CloseTopic
-
HolsTen i spawnd but the money dont count if my mone 100 or any thing dosnt show on scoreboard
-
exports.scoreboard:addScoreboardColumn('Money') function whatever () local money = getPlayerMoney ( source ) setElementData ( source, "Money", "$" .. money ) end addEventHandler("onPlayerSpawn", getRootElement(), whatever ) it dosnt show Moeny
-
Thx For qaisjp Worked
-
Hi all i have try put it client and server but it dosnt show GTA:T GameMode v3.0 Features: [*] Weapons Shop ! [*] Shop With New Features! [*] Fixed Some Bugs v3.0 [*] New Spawn Place!v1.0 [*] New Marker Entry! [*] New die Effects!v1.0 [*] New Reward System v1.0 [*] New Respawn System v1.0 [*] Login / Register / System v2.0 This GameMode By Dev-PoinT Credits goes to: - Castilo : For Help - MTASA Fourm Members : For Helping Me. Enjoy! what is worng ??
-
you must add a event Handler function clientsetup() local skin = engineLoadTXD ( "world/a51_ext.txd" ) engineImportTXD ( skin, 16094 ) local col == engineLoadCOL ( "world/des_a51infenc.col" ) engineReplaceCOL ( col, 16094 ) local model = engineLoadDFF( "world/des_a51infenc.dff",0 ) engineReplaceModel(model,16094) end addEventHandler( "onClientResourceStart", getRootElement( ), clientsetup)
-
no but it client gui functions is only clientside and setPlayerNameTag can be client but it client
-
dosnot work but i fixed it Thx myonlake For Help Me function beepClient(thePlayer) if isVehicleLocked(source) then local x, y, z = getElementPosition(thePlayer) local beep = playSound3D("sound/Alarm.mp3", x, y, z, true) setSoundVolume(beep, 2.0) setSoundMaxDistance(beep, 100) setTimer(function() stopSound(beep) end, 5000, 1) end end addEventHandler("onClientVehicleStartEnter", getRootElement(), beepClient) function xxx () outputChatBox("Car_Warning By Dev-PoinT Loaded",255,255,0) end addEventHandler("onClientResourceStart", getRootElement(), xxx)
-
no errors but after a lock the car and try open it the sound Playe 2 times i want it 1 time for every time i try open the car
-
TAPL replace his radar with this function ask Him
-
dosnt work to
