Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About SonicTHedgehog

  • Rank
    Advanced Member


  • Gang
  1. Well .. i am a scripter but not an experienced scripter .. so i want to get experience from other players scripts.. i check every script i see and try to use all of them in a script i make ... well i saw this and i dont know what is the meaning of it.. ! function drawSpectators() local textX = x - spectatorSettings.xOffset local textY = spectatorSettings.yOffset dxDrawText("MIRANDO: "..tonumber(#spectators), textX - 0.2, textY - 0.2, x, y, tocolor(0, 0, 0, 255), 0.4, "bankgothic") drawColor("#00FF00MIRANDO: #ffffff"..tonumber(#spectators), textX, textY, x, y, tocolor(83,
  2. I made a spawn script .. i want it to work only with players that first time they join ... ... I mean i use login gui it covers the spawn button .. when a player(not new) login the spawn button or the script to disappear And if a player register the login gui dissapear but the script keep working... sorry for my bad english
  3. I have a spawn script.. it make players choose thier skin before playing.. i want it just for new players( the players that join the server first time) because i want to save the registered players skins + position .. help me please + i can you tell me how to make a script that every one can use it .. just for admins ? or a team that i choose ? help me if thats possible. ty
  4. in 1.0.5 cant switch users & cant run multiple clients what about 1.1 ?????????????
  5. i know how to spawn a vehicle on any x,y,z but how to make the player spawn in the vehicle ? because when i spawn vehicle on any x,y,z using marker it spawns alot of vehicles if the player is still standing on the marker so i want the player to spawn in the car. help me please if you know how. thanks
  6. How to make a ped ?? and how to make it with anim or weapon ? help me please ???
  7. 1.When i set my team to police or another team by the admin panel it change my team for few seconds then i back without team . 2.Need help with Create Vehicle when player hitmarker function policecarsmarkeronStartup () policecarsChangeMarker = createMarker (1567.0947265625, -1607.6402587891, 13.3828125, "cylinder", 1.5, 0, 0, 0, 255, getRootElement()) setElementInterior (policecarsChangeMarker, 0) end addEventHandler("onResourceStart", getRootElement(), policecarsmarkeronStartup) function policecarsmarker (hitPlayer, matchingDimension) if (source == policecarsChangeMarker
  8. I am trying to make a marker and when player get in it his team set to police(and if u can tell/show me how to make it with "yes & no" buttons) then it shows what i wrote on the chatbox i think every thing is right exept the set team part.. when i try it .. it says ,(, expected near ,if, in the server.exe .. please help me .. and as what i said last time .... i am new in scripting so i need help. thanks function policeinfomarkeronStartup () policeinfoChangeMarker = createMarker (1554.5867919922, -1675.6022949219, 16.1953125, "cylinder", 1.5, 255, 0, 0, 255, getRootElement()) end
  9. This is it ! check it if there is some thing wrong ! shotg.lua function replaceFunction( ) txd = engineLoadTXD ( "data/shotg.txd" ) engineImportTXD ( txd, 22 ) end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),replaceFunction) meta.xml <meta> <info author="SonicTheHedgehog" type="Weapon" name="ShotG" /> <script src="shotg.lua" type="client" /> <file src="data/shotg.txd" type="client" /> </meta> Lol sorry again
  10. And is there some thing wrong with the meta.xml ??
  • Create New...