Jullul7000
Members-
Posts
78 -
Joined
-
Last visited
Everything posted by Jullul7000
-
http://www.mediafire.com/?lqq6gnd2hh8q54b Its from Solidsnake
-
If got this code: --[[The function below is the spawn window itself. If you have any previous experience with scripting, even HTML, some of this should make sense to you.--]] function openVehicleSpawnClient() local screenWidth, screenHeight = guiGetScreenSize() local windowWidth, windowHeight = 233, 104 local left = screenWidth/2 - windowWidth/2 local top = screenHeight/2 - windowHeight/2 showCursor(true) vehSpawnWin = guiCreateWindow(left, top, windowWidth, windowHeight, "Vehicle Spawner", false) guiWindowSetSizable(vehSpawnWin, false) sampleLabel = guiCreateLabel(15, 25, 201, 20, "Sample Vehicle Spawner", false, vehSpawnWin) guiLabelSetHorizontalAlign(sampleLabel, "center", false) guiLabelSetVerticalAlign(sampleLabel, "center") -- The lineEdit is where you type the modelID you want to spawn. lineEdit = guiCreateEdit(12, 45, 211, 20, "", false, vehSpawnWin) guiEditSetMaxLength(lineEdit, 32767) -- After entering the modelID you wish to spawn, you press the button "Spawn Vehicle" -- The button triggers the next function we use: spawnVehicleClient spawnBtn = guiCreateButton(14, 75, 211, 23, "Spawn Vehicle", false, vehSpawnWin) addEventHandler("onClientGUIClick", spawnBtn, spawnVehicleClient, false) end addEvent("openVehicleSpawn",true) addEventHandler("openVehicleSpawn",localPlayer,openVehicleSpawnClient) --[[This function gets the modelID you entered in the window, checks if it exists,- - and if the model does exist, it will trigger a serverside event. If the vehicle does not exist, you will get a message with an error warning.--]] function spawnVehicleClient() local id = guiGetText(lineEdit) triggerServerEvent("spawnVehicleServer",localPlayer,id) showCursor(false) guiSetVisible(vehSpawnWin,false) end But i wanna add this GUI: GUIEditor = { radiobutton = {}, button = {}, label = {}, window = {}, } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(251, 127, 144, 150, "Spawn Vehicle", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.73) GUIEditor.label[1] = guiCreateLabel(34, 32, 88, 24, "", false, GUIEditor.window[1]) GUIEditor.radiobutton[1] = guiCreateRadioButton(17, 36, 101, 22, "PizzaBoy", false, GUIEditor.window[1]) guiRadioButtonSetSelected(GUIEditor.radiobutton[1], true) GUIEditor.button[1] = guiCreateButton(19, 81, 107, 45, "Create", false, GUIEditor.window[1]) end ) How can i do that?? IDK how to script.
-
How can i fix this? When i say something you will see this in the chat: #00FFFFF#666666uckIT: #FFFFFFGlitch And i want that color codes in name works? Pls how can i fix?
-
Anyone have a little resource by clicking F1: they can spawn F.a.ggio,Pizzaboy and manana
-
Any can make a little resource by press F1 they can spawn a pizzaboy,F.a.g.g.i.o and Manana?
-
What i need to edit: local allowedGroups = {"Admin", "Moderator"} addEventHandler("onPlayerDamage", getRootElement(), function(attacker, weapon, bodypart, loss) if getElementData(source, "staff.active") == 1 then if loss then setElementHealth(source,200) end end end ) addEventHandler("onPlayerQuit", getRootElement(), function() removeElementData(source, "staff.active") removeElementData(source, "staff.skin") removeElementData(source, "staff.tagcolor.red") removeElementData(source, "staff.tagcolor.green") removeElementData(source, "staff.tagcolor.blue") end ) addCommandHandler("staff", function(player) local data = getElementData(player, "staff.active") local check = 0 local r = getElementData(player, "staff.tagcolor.red") local g = getElementData(player, "staff.tagcolor.green") local b = getElementData(player, "staff.tagcolor.blue") for i, v in ipairs(allowedGroups) do if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup(v)) then if data == 0 or data == false then red, green, blue = getPlayerNametagColor(player) setElementData(player, "staff.skin", getElementModel(player)) setElementData(player, "staff.tagcolor.red", red) setElementData(player, "staff.tagcolor.green", green) setElementData(player, "staff.tagcolor.blue", blue) setElementModel(player, 217) setPlayerTeam (player, team Admins) setPlayerNametagColor(player, 150, 155, 255) outputChatBox("#9900FF[sTAFF] #FFFFFFYou have enabled staffmode! Don't abuse your godlike powers.", player, 255, 255, 255, true) setElementData(player, "staff.active", 1) return elseif data == 1 then setElementModel(player, getElementData(player, "staff.skin")) setPlayerNametagColor(player, r, g, b) outputChatBox("#9900FF[sTAFF] #FFFFFFYou have disabled staffmode!", player, 255, 255, 255, true) setElementData(player, "staff.active", 0) return end elseif isGuestAccount(getPlayerAccount(player)) and data ~= 0 then outputChatBox("#9900FF[sTAFF] #FFFFFFYou need to be logged in to perform this command!", player, 255, 255, 255, true) return elseif not isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup(v)) and #allowedGroups == i then outputChatBox("#9900FF[sTAFF] #FFFFFFYou lack the rights to use this command!", player, 255, 255, 255, true) end end end )
-
Any know how to fix this? http://i50.tinypic.com/svmpap.png
-
Any now a script for teamskin? When players join the team police that he get a police skin? And staffs have a staff skin
-
Come my server. I have made a new version of free shooter 84.83.233.190
-
Any have a resource for saving stats by relogging and dieing?
-
Any can make for me a Script with Gangs GangHouses (I wanna see the green houses on the map and that i can place cars by the house for money.) Lvl system (With system by lvl 1 = Brass knuckle lvl 3 = colt ......) Bank system Payday (By lvl up 200 more payday) DeathMatch (To lvl up) Anti cheat Respawn cars Turf xp (For lvl up for low lvls) For this Working script i give you 10 mil on Runescape
-
Any have the custom Gta sa map for me to do in my server? And any have a System to save your weapon stats by dieing and relogging
-
that doenst works
-
Any have a system when i died that i dont lose my weapons? Pls resource
-
can you come on my server and do it for me??? i give you admin rights. 84.83.233.190
-
Yes when i hold tab that i see the lvls and when i go to the weapon shop.. i can buy weapons for my lvl
-
IDK how? im new with scripting
-
Any have a good lvl system with weapon lvl shops? For example, with: lvl 1 Brass knucle Lvl 3 Colt Lvl 10 Knife .....
-
Any have a good house system with green houses on the map?
-
Any have a nice good working bank system resource? I cant find
-
Any have a good login system with register and safeip?? and a Lvl system with Weapon lvl shop For example, with: lvl 1 Brass knucle Lvl 3 Colt Lvl 10 Knife .....
-
Any have a good login system with register and safeip?? and a Lvl system with Weapon lvl shop For example, with: lvl 1 Brass knucle Lvl 3 Colt Lvl 10 Knife .....
