
//_Dragon
Members-
Posts
214 -
Joined
-
Last visited
Everything posted by //_Dragon
-
Help me :3 !!
-
gui of what ?
-
i add this mod (hydra) in acl [ resource.hydra ]
-
---sevrer function hydra () local accountname = getAccountName (getPlayerAccount(client)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "admin" ) ) then local x, y, z = getElementPosition ( client ) hydra = createVehicle ( 520, x, y, z ) warpPedIntoVehicle (client, hydra ) else outputChatBox ( "You must be admin to use this", client, 255, 255, 255, true ) end end rootElement = getRootElement() addEventHandler( "onHydraClick", rootElement, hydra) addEvent("onHydraClick", true) ---client function hydra () triggerServerEvent ( "onHydraClick", resourceRoot ) outputConsole("A hydra has been spawned.") end ---meta <meta> <info name="staff's hydra" author="Oussez" version="1.1" type="script" /> <script src="server.lua" type="server"/> <script src="client.lua" type="client"/> </meta> when i'm not admin i can get hydra :3 i want only admin can get it is there any bugs ??
-
client triggerServerEvent ( "onHydraClick", resourceRoot ) outputConsole("A vehicle has respawned.") end) doesnt working
-
Pfff the code has some problem if u're pro ( u aren't ) fixe it then say what u said to me get out of my topic i dont need ur help
-
Here is a problem :3 !
-
Can u give a example for get hydra only for Admin from F1 ?
-
Look i need just a example for the mod ok ? if u wanna help me it's ok
-
If you were so you could figure out how to do this yourself. A "Pro" could do this in a matter of minutes, seeing as you're trying to copy someone elses server, help ends here. I'm saying i'm pro then him not i'm pro scripter Any one help me ?
-
Get fucking out of my topic | + i'm pro then u all mod's groam u have them u only stilling mods not creating new mod like me . so get out of my topic ok ? or .....
-
Any one help me ?
-
Not working | i want make Only staff can get hydra & hunter & rhino , & player can't get them they most buy them from f1
-
I'm not good scripter :3 i'm still 25% scripter Only i need some one give me the script ( cleint / server ) then i'll continue creating the mod
-
?? not this dude Any help ?
-
It's possible to make Cars only for Staff ( Admin/Mod/Console/S.Mod/Vip) ? & it's possible to make shop in f1 Check the picture for understand
-
I compile my client but it's steal showing in resources i wanna remove it
-
How to make mod invisible in Mta/server/mods/deathmatch/resources ? Some noobs steal mod's server but i want make it invisible ( not showing in resources)
-
maybe ?
-
I do one better thanks to yous guys I need yous here : viewtopic.php?f=91&t=94220
-
http://imgur.com/v82uwBZ | Not Working Any one help ?
-
The problem is : no picture's level is drawing in scoreboard i hope someone help me
-
Use tag. You mean : server.lua !?
-
MrTasty Not Working can u put that's code in server ↓↓ exports.scoreboard:addScoreboardColumn("Level",getRootElement(),1,40,'Level') function scoreLevel () local account = getPlayerAccount(source) local Level = getElementData(source,"Level") or 0 if isGuestAccount ( account ) then setElementData(source, "Level",":Experience/Emblems/Guest.png") else setElementData(source, "Level", ":Experience/Emblems/"..tostring(Level)..".png" ) end end addEventHandler("onPlayerSpawn", getRootElement(), scoreLevel) addEventHandler("onResourceStart",getResourceRootElement(getThisResource()),function() call(getResourceFromName("scoreboard"),"addScoreboardColumn","Level", getRootElement(), 1, 40) end )