Jump to content

Panda

Members
  • Posts

    34
  • Joined

  • Last visited

Everything posted by Panda

  1. Hello everyone, Well i tried to make friendly fire script function but the problem is i don't want it to be locked to teams, i want it to be locked to Classes. Idk what i'm doing but i just tried something it doesn't work already tested it but yeah.. I really need some help over here function Trolo ( attacker, attackerweapon, bodypart, loss ) if attacker and getElementType(attacker) == "player" then if ( getElementData ( attacker, "class" ) == "Delta Team" ) ~= ( getElementData ( source, "class" ) == "Delta Team" ) then cancelEvent() end end end addEventHandler ("onPlayerDamage", getRootElement(), Trolo) i'm not sure about it, need some help. Thanks.
  2. Hello Everyone, Well As you can see in this picture, there's a missing wall. I really want to know the ID of that Breakable object. I mean is there any Object that i can put over there? An object that is related to that wall, That green one? I will really appreciate it if you help me over here, thanks alot. http://i.imgur.com/Xglm1jw.jpg
  3. Hello Everyone, I just want a little help over here, it's nothing for some players, but it really pissed me off for real.. local allowedTeams = {["Delta Team"] = true} function Hola() if allowedTeams[getTeamName(getPlayerTeam(source))] then exports.Servercommands:dropMessage("*Never Mind this...",9,93,19) end end addEvent("lol",true) addEventHandler('lol', getRootElement(), Hola) I can't even lock it to that Team, Maybe beacause it's a new event? It pissed me off.. How can i lock it? Thanks. PS: when i put it like that, the msg will be sent to everyone, I mean every player in the server not only The Delta Team, thanks again.
  4. Well Hello there, I think you guys know me i'm Vista (SACG Co Owner) Anyways, You guys are lying, u're just scared from MTA Team, you are creating bullshits and u're making a big mistake. You're trying to escape from this problem. Look at this: Lol that prooves everything, lol. You have just admitted that u were ddosing our server. Only you or lampard, You both hates SACG as fuck, why? I still don't know why, You're just jealous That's it.You're doing your best to ddos us so we can lose our members etc.. But trust me it won't work. By the way, It's a game, you're just spending your money, why? Just to ddos SACG that's it, you bought some ddos programs to ddos us, and remember it's a fucking game, it's made to have some fun not to have wars with the others. If you don't know how to control ur server/members that's not our problem. That lampard is talking shit to people, He Don't even know how to make friends, everyone i repeat EVERYONE hates him. Fastdriver, i didn't expect this from you but... You'll just post a new reply saying"we didn't ddos u" and u'll maybe make a new lie. And what was this for?: After a while : Are you kidding me? Man, take a look at urself. You're the one who's trying to make a war not us. We didn't even Ddos ur server maybe another server's member did or maybe an SACG Member, But i warned them all to do not DDos anyone from other servers otherwise he'll be permantly banned from SACG. Three Words: Get a Life. Cheers, SACG Co Owner.
  5. Come on Guys! ignore power
  6. Well still waiting for someone to answer me D:. Thanks.
  7. Still need help! Can anyone answer ?thanks.
  8. Yeah ik with events! But Idk which one i already tried but not working ._. Fuck me D:.
  9. Oh done! I changed the source with P ;P Thanks mate it's working but now i need to edit something D: i mean i want it to appear when i open the panel not when i press the command
  10. Nope not working! Error : "WARNING: Test/server.lua:58 Bad Argument @ 'triggerClientEvent'[Expected Element at argument 2, got nil]"
  11. Wow Man! Thanks mate it works! Thank u once again <3.
  12. I still don't get it.. i tried it but it doesn't work. I'm sure that there is a way to count from 10 to 0. local message = "Your car will be spawned in"..tonumber(10).." seconds." Well if there is not, can u help with the "getTimerDetails" ? Thanks mate.
  13. Well can u help me with that? Thanks.
  14. Hello Everyone, i tried to make something, i mean the car spawn after 10 secs when i press on the button! I don't what to do to make it count from 10 to 0 Look what i did! I need help Thanks. function drawDisplay() local message = "Your car will be spawned in"..tonumber(10).." seconds." dxDrawText(message,2,2,resX + 2,102,tocolor(255,255,255,255),2,"default-bold","center","center",true,true,false) dxDrawText(message,0,0,resX,100,tocolor(255,255,255,200),2,"default-bold","center","center",true,true,false) end function startDisplay(jTime) addEventHandler("onClientRender",root,drawDisplay) end addEvent("hii",true) addEventHandler("hii", localPlayer, startDisplay)
  15. Mate.. It doesn't work Too D:.. Look at this pic, let me show u! http://i.imgur.com/ZWz19o2.png It doesn't appear! Server Side addEventHandler ('onPlayerLogin',root, function (_, Account) local accountName = getAccountName( Account ) triggerClientEvent ('handleClient',source,accountName) end ) Client Side addEvent ('handleClient',true) addEventHandler ('handleClient',root, function (accountName) if tostring (accountName) then guiSetText (account1,'Your account name is '..accountName) outputChatbox (accountName) end end )
  16. Nope mate.. It Doesn't work, nothing appear on my panel.. pff.
  17. Hellooo! Can anyone answer me?
  18. Hello Community, Well i want to make a taser system, i mean when cops can only shoot 2 times with the taser then he have to reload, i mean max shots will be 2 then he can reload if u know what i mean. I'm sure i've to use this : setWeaponProperty But i still don't know how to make it, Need help thanks.
  19. Still need Help, Can anyone answer me? thanks.
  20. --Client Side. function handleSetText (accountName) guiSetText (account1,accountName) end addEvent("handleSetGUIText",true) addEventHandler("handleSetGUIText",root,handleSetText ) --Server Side. function onJoin () local account = getPlayerAccount (source) local accountName = getAccountName (account) triggerClientEvent ('handleSetGUIText',source,accountName) end Not working bro
  21. Yeah i did that and what about client side ? i should add a new function like this? function hi() guiSetText(account1,"What should i type here?") end addEvent("handleSetGUIText",true) addEventHandler("handleSetGUIText",root,hi)
  22. Yeah ik that , but the problem is idk how to merge it, i mean i tried but it didn't work, can u help me ? thanks mate.
  23. What? Why do i need that? I gave u a client side Script not server side..
  24. Hello everyone, Well first of all i tried to do when i open my panel it appears ACC NAME : "My Account name". I really can't do it since i can't use getplayeraccount in Client side so this is a part of my script that is related to acc name thing: account = guiCreateLabel(56, 138, 65, 16, "ACC NAME :", false, GUIEditor.window[1]) guiSetFont(account, "default-bold-small") account1 = guiCreateLabel(127, 128, 160, 32, "", false, GUIEditor.window[1]) In account1, My account name should appear over there. I want it to appear thanks for helping. This is what i tried to do, stupid thing but i have nothing to do: guiSetText(account1,"I want a player's account name appear here.") Thanks everyone.
  25. Well, Done i fixed it D: damn. Thanks for helping anyway.
×
×
  • Create New...