Baseplate
Members-
Posts
1,417 -
Joined
-
Last visited
Everything posted by Baseplate
-
PleaseScript, what's the way that identifies your VIP? ACL or Element Data?
-
Dw Anderl, I know TeamBarrel personally, he's a person you can trust mate...
-
Recommended! Good luck anyways
-
Well, you can check out my tutorial
-
Well, must be your mapshop problem mate..show us the script
-
try to put the buttons above the image in the lua
-
restart the resource, else debug errors
-
guiCreateStaticImage Client-Sided
-
It should be workin no player will crash, try it
-
use function randomSkin () setElementModel(source, math.random(7,288)) end addEventHandler("onPlayerJoin", root, randomSkin)
-
function spawn () spawnPlayer(source, x, y, z) end addEventHandler("onPlayerConnect", root, spawn) Even Woods's code (Wiki ) works but I gave u the needed structure and you gotta change the x y and z
-
Recommended scripters! Good luck CapY and Anderl
-
function myfirstwindow() local swidth, sheight = guiGetScreenSize() local width, height = 400, 400 local x = (swidth/2) - (width/2) local y = (sheight/2) - (height/2) window1 = guiCreateWindow(x, y, width, height, "Title", false) -- MAIN WINDOW guiWindowSetMovable(window1, false) guiWindowSetSizable(window1, false) --Button guestBtn = guiCreateButton(160,370,70,30, "Play as Guest", false, window1) addEventHandler("onClientGUIClick", guestBtn, window1buttonresponse, false) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function() myfirstwindow() outputChatBox("Wlcome to MTA:SA Cops & Robbers Server. Please Log-In") if window1 ~= nil then guiSetVisible(window1, true) else outputChatBox("An error has occured") end showCursor(true) guiSetInputEnabled(true) end ) function window1buttonresponse(button, state) if button == 'left' and state == 'up' then guiSetVisible(window1, false) showCursor(false, false) end end function kay () local source = guest if (source == guest)then triggerServerEvent("guestLogin", getRootElement()) guiSetVisible(loginWindow, false) showCursor(false) end end addEventHandler("onClientGUIClick", root, kay) That's client, try it untested
-
Talk to them if you know'em or MSG the on facebook
-
As I just said, CMG Belongs to you and they didn't ask for your permission report it Here
-
Sue them for Copyrights lolz..
-
Well, you gotta install your sound driver. Sound Tab 1: No sound card was found. If one is expected, you should install a sound driver provided by the hardware manufacturer.
-
Well, kinda something is wrong here local weapons = { ["Samer"]=true, ["Woods"]=true, ["Thing"]=true, ["Robbster"]=true } GUIEditor_Window = {} GUIEditor_Label = {} GUIEditor_Grid = {} heroesWindow = guiCreateWindow(207,81,372,449,"Heroes List:",false) guiSetVisible(heroesWindow, false) GUIEditor_Label[1] = guiCreateLabel(2,21,5,15,"",false,heroesWindow) GUIEditor_Label[2] = guiCreateLabel(13,33,197,26,"This is our current Heroes List",false,heroesWindow) heroesGrid = guiCreateGridList(15,57,343,379,false,heroesWindow) guiGridListSetSelectionMode(heroesGrid,2) local heroesColumn = guiGridListAddColumn(heroesGrid,"Heroes",2) local row = guiGridListAddRow(heroesGrid) guiGridListSetItemText(heroesGrid,row,heroesColumn,tostring(weapons),false,false) addCommandHandler ("heroes",function() if not guiGetVisible(heroesWindow) then guiSetVisible(heroesWindow, true) showCursor(true) end end)
-
Just put it in a folder lol...
-
Maybe getting off his head, not sure about his right hand for the head use this setPedHeadless
