golanu21
Members-
Posts
650 -
Joined
-
Last visited
Everything posted by golanu21
-
oh... i got this, thanx
-
var = dxDrawText("Misiunea 1", 933, 33, 1076, 45, tocolor(255, 255, 255, 255), 1.00, "diploma", "left", "top", false, false, true, false, false) like this .. and how i modify it ?
-
"username" is not defined "password" is not defined make it like this getAccount(getPlayerName(source))
-
hi guys i can modify the this dxText with other function dxDrawText("Misiunea 1", 933, 33, 1076, 45, tocolor(255, 255, 255, 255), 1.00, "diploma", "left", "top", false, false, true, false, false) for the example when something happening this text to modify..
-
and when player login, how i make ? like this ? function exp2(_, playeraccount) if (playeraccount) then local exp = getAccountData( playeraccount, "level") if (exp) then --there idk what i need to type ... end addEventHandler("onPlayerLogin", getRootElement(), exp2)
-
if progCount == 0 then guiSetText(nivlab, "0") guiProgressBarSetProgress ( progressBar, ( guiProgressBarGetProgress ( progressBar ) + 50) ) setElementData(getLocalPlayer(), "lvl1", progCount) ------ elseif progCount == 1 then guiSetText(nivlab, "1") guiProgressBarSetProgress ( progressBar, ( guiProgressBarGetProgress ( progressBar ) + 45) ) like this ?
-
client if progCount == 0 then guiSetText(nivlab, "0") guiProgressBarSetProgress ( progressBar, ( guiProgressBarGetProgress ( progressBar ) + 50) ) elseif progCount == 1 then guiSetText(nivlab, "1") guiProgressBarSetProgress ( progressBar, ( guiProgressBarGetProgress ( progressBar ) + 45) ) function saveexp() triggerServerEvent("lvl", getLocalPlayer(), progCount) end addEventHandler("onPlayerQuit", getRootElement(), saveexp) server function greetingHandler ( progCount ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) and not isGuestAccount ( playeraccount ) then -- if the player is logged in setAccountData ( playeraccount, "level", progCount ) -- save it in his account end end addEvent( "lvl", true ) addEventHandler( "lvl", getRootElement(), greetingHandler ) function exp2(_, playeraccount) if (playeraccount) then local exp = getAccountData( playeraccount, "level") if (exp) then --there idk what i need to type ... end addEventHandler("onPlayerLogin", getRootElement(), exp2) i want to setAccountData the progCount (level)
-
on defaul value it's worked but players can't connect...
-
and how i do the script when i kill 3 zombies then........ give me the essential please
-
function deanimated( ammo, attacker, weapon, bodypart ) if (attacker) then if (getElementType ( attacker ) == "player") and (getElementType ( source ) == "ped") then if (getElementData (source, "zombie") == true) then local oldZcount = getElementData ( attacker, "Zombie kills" ) if oldZcount ~= false then setElementData ( attacker, "Zombie kills", oldZcount+1 ) triggerEvent ( "onZombieWasted", source, attacker, weapon, bodypart ) else setElementData ( attacker, "Zombie kills", 1 ) triggerEvent ( "onZombieWasted", source, attacker, weapon, bodypart ) end end end end end addEventHandler("onPedWasted", resourceRoot, deanimated) this function ?
-
i don't understand what you make there, man i want when player kill 3 zombies to do something ..
-
how i make with exp_system something like this : getZombieKills (i want when player kill 3 zombies to do something
-
function playerspawn () spawnPlayer(source, -1429.29822, 507.31195, 18.22944, -90, 0) end addEventHandler("onPlayerLogin", getRootElement(), playerspawn) function join () setCameraMatrix(source, -1443.07190, 507.24130, 29.70967, -1373.97998, 507.68015, 18.23438) end addEventHandler("onPlayerJoin", getRootElement(), join) function spawn () toggleAllControls(source, false) setTimer(toggleAllControls, 10000, 1, source, true) setCameraMatrix(source, -1443.07190, 507.24130, 29.70967, -1373.97998, 507.68015, 18.23438) setTimer(setCameraTarget, 10000, 1, source) outputChatBox("Bun Venit Pe ROMANIA-ZOMBIE-RPG///Gamemode By HamsYu", source, 255, 0, 0, false) setControlState(source, "forwards", true) setTimer(setControlState, 10000, 1, source, "forwards", false) end addEventHandler("onPlayerSpawn", getRootElement(), spawn) i make that, and when i enter on server the login panel is appear, i login , and then black screen ... and exp gui is on...
-
yes, now is allowed but your site https://nightly.multitheftauto.com/ports/, show same problem ..
-
*Zombie Survival/RPG. deja lucrez... am facut multe chestii, ,te rog sa faci alt ceva
-
you can tell me how i use it ?, because on wiki i dont understand
-
-- the ports work -- this is the OPENPORTS and this is your site : "https://nightly.multitheftauto.com/ports"
-
--EDIT function spawn () toggleAllControls(source, false) setTimer(togleAllControls, 10000, 1, source, true) setControlState(source, "forwards", true) setTimer(setControlState,10000, 1, source, "forwards", false) end addEventHandler("onPlayerSpawn", getRootElement(), spawn) setTimer(spawn, 10000, 1) how i make after 10 sec to stop forcing "forwards" ?and the toggleControls to come back to true ?
