Title / Thread Starter Last Post ByReverse Sort Order Replies Views
Lua

[2017] GmodStore Garry's Mod Gamemode Competition ( 2 3 4 5 6 7 Last )

Welcome back to another Gamemode Competition thread! The last one went well enough that people were interested in another one. Naturally I had to choose a better time than before so now we're here! GmodStore is the main body behind this competition and is...

2 Hours Ago
by Zet0r Go to last post
240 19,536
Lua

MODDING HELP - READ ME FIRST - LAST UPDATED 9 NOV 2016

This forum is for help with modding Garry's Mod. This does NOT include Mapping or Modelling. Please use the following forums for help with those topics: Mapping: http://facepunch.com/forums/40 Modelling: http://facepunch.com/forums/38 Your...

9th November 2016
by Robotboy655 Go to last post
0 4,799
Link

NEED A CODER? DON'T MAKE A THREAD - LAST UPDATED 25 OCTOBER 2013 - READ THIS

We are not interested in threads that state you are looking for a coder for your server/addon/gamemode. Please instead use these resources: https://scriptfodder.com/ Want to learn to code? https://facepunch.com/showthread.php?t=1541007

garry Winner x 39
3rd September 2014
by NiandraLades Go to last post
2 23,814
Help

Pointshop issue: attempt to index local 'model' (a nil value)

If it's not one thing, it's another I can't catch a break with these issues. Anyway, I keep getting the following lua error in console addons/pointshop-master/lua/pointshop/vgui/dpointshoppreview.lua:82: attempt to index local 'model' (a nil value)...

53 Minutes Ago
by SgtCheesepuff Go to last post
0 6
Help

Group restricted weapons in TTT

I want to add weapons such as weapon skins, custom jihads, etc. for donators on TTT. But I don't know how. After doing research, I came across this I did /lua/autorun/ttt_hacky_ulx.lua and /lua/autorun/server/ttt_hacky_ulx.lua and this is where...

1 Hour Ago
by SgtCheesepuff Go to last post
10 141
Help

Looking for help with a bit of LUA regarding combined key pressing

So, I'm working with nutscript here, and there's a bit of code in the gamemode by default that allows the player to lower or raise their weapon. The issue I have with this is that the code creates a timer, and to initiate said timer, the player must hold...

Gnomp 3 people are reading this thread x 3
1 Hour Ago
by Gnomp Go to last post
4 55
Help

Customising the TTT Scoreboard logo

Hey there, I'm trying to change the TTT logo on the scoreboard to something custom. However, when I change the image I get the missing textures image. My image is named 'res_score' and is located in...

hypek 2 people are reading this thread x 2
1 Hour Ago
by hypek Go to last post
0 22
Post Your

Problems That Don't Need Their Own Thread v5 ( 2 3 4 5 .. 40 41 42 43 Last )

Welcome to Problems That Don't Need Their Own Thread v5! Have a small problem in your Lua code that keeps nagging you, but you feel like it's not worth making a thread for? Well then you've come to the right place! Reply to this thread with your...

2 Hours Ago
by MPan1 Go to last post
1,714 59,262
Help

solved CalcView Lerp Issues

Hey, its been about a day now and I still haven't figured out whats the issue with this code. However, I can tell you if I just plug in the pos and ang it works perfectly without lerp, however when I use lerp it doesn't do anything unless I alt tab where...

8bitMafia 1 people are reading this thread x 1
2 Hours Ago
by 8bitMafia Go to last post
2 58
Hobbies

GMod - What are you working on? June 2017 (#70) ( 2 3 4 Last )

Highlights from the previous thread

3 Hours Ago
by Chisler Go to last post
149 13,615
Help

FastDl Broken - Need Help

Hello, I've decided to post a thread here because I have been unable to find a fix anywhere online. My issue is with FastDL on my TTT server, I have been trying for the past few days to set it up so that players can join without having the right map...

3 Hours Ago
by TrippyRabbit Go to last post
3 43
Help

Player models hit boxes problem?

Hey. So recently I've been having problems with hit boxes in player models. Every single playermodel I upload to my server and put into the pointshop (or even not in the pointshop), all have absolutely rubbish hitboxes. I've even taken playermodels from...

4 Hours Ago
by code_gs Go to last post
3 196
Help

Need binary module creation help

I'm trying to hook LevelInit like Stripper:Source does (https://github.com/alliedmodders/stripper-source/blob/master/gameshim/stripper_mm.cpp) on linux, I'm using a library called "VMTHooks" for hooking virtuals from BotoX (with an added _UNHOOK macro...

georgeri 1 people are reading this thread x 1
5 Hours Ago
by georgeri Go to last post
0 50
Help

MoveTo visual bounce

Hello all, I'm creating an inventory system and I have made it animate expanding and contracting but the code causes a strange visual bounce and I have no idea why. Any ideas are appreciated. function invf.frame:Paint(w,h) draw.RoundedBoxEx(8, 0,...

10 Hours Ago
by rtm516 Go to last post
1 111
Help

Need help,

Hello, and welcome. In this Thread, I'll be asking you how, could i create a store that would allow people to buy donator statut,money packages and so on, of course the DarkRP Gamemode. Would be glad if someone responded, not just leave me alone on...

11 Hours Ago
by gonzalolog Go to last post
1 50
Help

solved Smooth rainbow code help?

Hey, I've been trying to figure this out for a few hours now and can't seem to do it. I have a table of colors and I want a variable to change between each one of them every 5 seconds smooth. The code I have so far is this: local RainbowColors = {...

16 Hours Ago
by PolygonError Go to last post
11 250
Help

EyeAngle Limitation

I need the player to not lower and lift the camera. I could move the camera only to the right and to the left... (goodeng) BAD: GOOD:

RedWo Thread has images 1 people are reading this thread x 1
19 Hours Ago
by MPan1 Go to last post
6 134
Help

[DarkRP] Certain Jobs can use the Q Menu but the rest cannot?

Hey, Im strugging to find a solution to this problem. I want a job to be able to spawn an entity but ONLY that job. Ive tried using the F4 Menu entities to restrict it to a job but the entity glitches whenever you spawn it through the f4 menu, so I...

1 Day Ago
by MrManiak Go to last post
3 83
Help

Spawning default half life 2 entities from code

Could anyone point me in the right direction of getting default hl2 entities to spawn correctly from lua? I'm having problems getting them to spawn correctly from my own code, where the spawnmenu spawns them fine. npc_combine_s for instance, wont...

1 Day Ago
by Chisler Go to last post
6 152
Lua

SWEP.SlotPos

Hey. this is a question to the basics of scripting a swep in Lua. I still donīt know: What does SWEP.SlotPos do ? And whatīs the different between SWEP.SlotPos and SWEP.Slot ? I know this is basic, but I didnīt care about it and always used the default

1 Day Ago
by Robotboy655 Go to last post
1 54
Help

List of Player Models

Hi guys I am looking for a list of player models. I have searched the Valve Developer Wiki and can't find a thing.

samwilki 2 people are reading this thread x 2
1 Day Ago
by Tratman Go to last post
23 68,367
Lua

Disable drawing when behind something

I'm currently creating a stool which will draw a wireframe sphere when you hold it by calling render.DrawWireframeSphere() in a cam.3D() function. My problem is that I don't want the parts of the sphere that are below the ground or behind walls to draw....

1 Day Ago
by Robotboy655 Go to last post
3 73
Question

Are there better API Docs than the ones on wiki.garrysmod.com?

Hi. I've been wanting to make a mod for a while now. I'm very experienced with Lua (I've made standalone games in it), and I'm trying to get all the information I can about things within the Garry's Mod API, but the pages that would normally have valuable...

1 Day Ago
by Nookyava Go to last post
14 398
Help

Mouse Aim steering

I'm trying to write an E2 flying holo vehicle that's controlled by mouse aim in third person view (like vehicles in Halo), but after looking around on YouTube and searching the forums I haven't been able to find anything that sheds some insight on how to...

1 Day Ago
by maksimiljan Go to last post
7 211
Help

Making a Gamemode To Gamemode addon converter

I'm quite new to Lua in the respect that I could probably correct Lua errors when I see them, and I could probably make edits to addons to make them work differently to how I want them to, and I was just wondering (because of the upcoming release of the...

1 Day Ago
by SmithStanley Go to last post
2 100
Question

solved Client Con Var's and Settings

Hello once again guys, ok so first of all, is there any recommended "CreateClientConVar" limit? I'm making a script that makes possible the HP bar to be edited by the client. I have 2 ClientConVar's for the position, one for the X Axis other for...

1 Day Ago
by code_gs Go to last post
9 187
Garry's Mod

Garry's Mod Wiki Discussion ( 2 3 4 5 .. 11 12 13 14 Last )

We've been talking about the wiki in about 4 different threads. So here's one dedicated to it. http://wiki.garrysmod.com/ I just added a more functional sidebar. Typing in the search box should filter the contents of it. It should also open up...

1 Day Ago
by MPan1 Go to last post
532 27,105
Help

Custom Jihad Swep is not appearing in the traitor store TTT

For some reason this SWEP isn't appearing in the traitor store, I have tried looking up ways to solve this issue and tried what I found, but unfortunately I had no luck. Is there something that I am missing? Thsi is the addon I am trying to use...

1 Day Ago
by BadgerCode Go to last post
19 285
Question

The longest string possible that a cvar can handle

So forum as it says .. I an trying to store a long string in a cvar on the client an read it on the server like so: gsScript = "convartest" -- Derived from "convartest.lua" TOOL.ClientConVar = { = "", = "" } -- The .client convar to be...

2 Days Ago
by Bull29 Go to last post
6 258
Help

Arc Prediction for Props

I am wondering how I might go about making a visual prediction for arcing a prop, I have looked into how to do this and have had no success, thanks. Also this is probably the best reference I can find: https://www.youtube.com/watch?v=h9MiucXPLuY

2 Days Ago
by dgrawns Go to last post
7 244
Question

Question with Entities..

How do I target an entity to change its properties when I don't even know how to address it? There are certain hooks I used like PlayerDeath that have entity as an argument but then all I can do is interact with the entity that killed me. How would I...

2 Days Ago
by MrManiak Go to last post
9 174
Help

Making unique nettwork variables for a prop

Basically what I'm trying to do is make a prop that opens a menu when you interact with it, you can set the coordinates, and it will teleport you there. I read that using ENT:SetupDataTables() can make network variables for each prop unique but when...

2 Days Ago
by MrManiak Go to last post
10 328
Lua

solved DListView:Think() - How do I update the info in DListView?

I want the list to be updated every second by Think() but it spams the lines. local PlayerList = vgui.Create("DListView") PlayerList:SetParent(panel3) PlayerList:SetPos(10, 20) PlayerList:SetSize(750, 300) PlayerList:SetMultiSelect(false)...

2 Days Ago
by americal Go to last post
6 70
Help

Crowbar "Steam App User Info"

Hi i use Crowbar to compile models and all is fine but when i click compile it said "can't find steam app user info" Can someone help me ?

2 Days Ago
by iJohnny Go to last post
1 99
Help

Lua Error (New Flood Mod)

Working on a custom gamemode for gmod13. Got this strange error gamemodes/flood13/entities/weapons/gmod_tool/cl_init.lua:2: '=' expected near '<eof>' 1. unknown - gamemodes/flood13/entities/weapons/gmod_tool/cl_init.lua:0 cl_init.lua

2 Days Ago
by MrKuBu Go to last post
3 688
Help

Problem DarkRp

Hello, I don't know where i post my problem but i think this categorie can be good. I've dedicated server OVH and i want create a server gmod with DarkRP but everything work just all save (Money, Door lock etc..) but the job don't want save i don't...

2 Days Ago
by Had3s99 Go to last post
0 68
Help

chat commands problem

function GM:PlayerCanSeePlayersChat( text, teamOnly, listener, speaker ) local distance = listener:GetPos():Distance( speaker:GetPos() ) if( distance <= 500 ) then return true

2 Days Ago
by JasonMan34 Go to last post
8 175
Help

Data of players on the server

Where are all the data about the players who have visited the server?

2 Days Ago
by JasonMan34 Go to last post
2 127
Garry

Next Update v7 - April 2017 ( 2 3 4 5 6 7 8 9 Last )

http://cdn.akamai.steamstatic.com/steam/apps/4000/header.jpg?t=1421333577 Changelog Live Changelog Main repository Pull requests Latest update is out: http://www.garrysmod.com/2017/04/17/april-2017-update/

Willox Thread has images 1 people are reading this thread x 1 Winner x 20
2 Days Ago
by Unib5 Go to last post
349 27,670
Help

solved Text won't update

I created a small script to show the total amount of frags a player has: local frags = LocalPlayer(1):Frags() surface.CreateFont("totalfragsfont", { font = "DermaDefault", size = 45, antialias = true, outline = true,

2 Days Ago
by Meninist Go to last post
0 40
Help

Player uses my entity, HUD temporarily appears.

My addon/entity is a "Disguise Box" that allows players to temporarily change thier playermodel to be "disguised." I want to draw HUD on the player that has used by addon's screen, to inform them that they are "Disguised." I want this HUD to only...

3 Days Ago
by gmatt1923 Go to last post
1 78
Question

Can Lua variables be changed in Hammer by marking them in an FGD file.

If you set Lua flags in an entity, would it be possible to change them in Hammer by adding them to the FGD file so they can be read by Hammer.

3 Days Ago
by highvoltage Go to last post
10 233
Question

Base64 En/Decoding

Hello, I'm using the code from http://lua-users.org/wiki/BaseSixtyFour as gLua only offers Base64 Encoding and not Decoding. I'm doing this as an practice because I really like Obfuscating/Encrypting. So the thing is, the Encryption seems to be working...

3 Days Ago
by Momox Go to last post
9 196
Lua

Question about firing a entity and having it stick in what ever it hits?

how would one make their custom entity that they fire from a gun stick to what ever it hits like say a wall or a player, etc

3 Days Ago
by Kris101 Go to last post
4 128
Lua

Lua Gamemode Help (command disabling + icon drawing)

Is there a way I can disable the use of certain console commands and noclip? I also need to know how to get icons to appear on the right side of the screen when certain flags on an object are set (with a 50 pixel space between eachother and the ends of...

3 Days Ago
by NostalgicBird Go to last post
21 337
Help

issue with the /advert command in chat

I recently got my /comms chat command working however when I try running the /advert in chat, instead of putting " Legion of boo: I like potatoes" it puts up some stupid sign in the air with the words "I like potatoes" on it instead of putting it in the...

3 Days Ago
by Legion of boo Go to last post
3 82
Lua
3 Days Ago
by Breadst Go to last post
0 51
Help

Rotating a players weapon?

I'm trying to rotate and change the color on the weapon the player changes to but it only sets the color, I have tried changing its position too but that wont work either. function GM:PlayerSwitchWeapon( ply, old, new ) new:SetAngles(Angle(90,0,0))...

3 Days Ago
by Thiefdroid Go to last post
2 96
Help

Identifying and removing an entity

Hello I have a NPC Drop script, but after a while the items stay and end up spamming the server. I was wondering how I could identify any items that are dropped and then remove them after x amount of time. The timing and removing the item is easy, but I...

4 Days Ago
by pogh10 Go to last post
6 98
Help

solved Need help with a /comms chat command

Basically I'm looking for a way to make a /comms chat command that puts a in front of what you type after. basically you would type this into chat "/comms I love potatoes" and it would show up in the chat as " Legion of boo: I love Potatoes" and this...

4 Days Ago
by code_gs Go to last post
1 64
Help

3d2d derma help mouse input

Trying to make a 3d2d main menu for my gamemode, found a really neat addon that have 3d2d librarys just for this. https://github.com/HandsomeMatt/3d2d-vgui Only thing is, this code is set up to go on player view, ex: your player has to be physically...

4 Days Ago
by snakescater Go to last post
0 63
Lua

solved Entity:Use() Inside Another Entity

Here is the situation. Say entity1 is the main entity and entity2 is an entity created inside entity1. I am trying to get the entity2:Use() function to run, but it won't. Here is where I'm at. Pay attention only to the fire3 variable and below it. I am...

4 Days Ago
by NeatNit Go to last post
3 70
Lua

solved Add a couple of lines, and whole addon stops working?

I am working on a map rotation addon, and am working to add a timed rotator. I added the things in the config to enable it, then added some timer functions for countdown, and one for changing the map. Suddenly almost nothing from my addon is working, no...

4 Days Ago
by ajg0702 Go to last post
5 61
Help

solved Help with Cam3D2D, locking HUD position on entity as it rotates

Hi, I am adding HUD to my entity. Images: http://imgur.com/a/Gnyy9 I want my HUD to stay on the top of the box as seen in Images #1 and #2. Hoewever wehn the entity is rotated, it changes position. How can I lock it to remain at the top of the...

4 Days Ago
by sabadyCZ Go to last post
1 56
Lua

solved Change current map

Is there anything for changing the map? I have googled it, but cannot find anything.

4 Days Ago
by ajg0702 Go to last post
2 47
Help

solved Converting DarkRP 2.4.3 F4 Menu to DarkRP 2.5 or 2.6

Hello there, I have recently seen on a community (Teamfrench) an f4 menu which has been posted here, I don't know when it has been posted. Link: https://facepunch.com/showthread.php?t=1282416 I want to have that F4 Menu in DarkRP 2.5 or 2.6 but...

4 Days Ago
by geferon Go to last post
2 82
Question

solved About Networking

Hey guys, would it be a bad practice to make something like this?: hook.Add("PlayerDeath", "stuff", function() ...CODE... net.Start("Info") net.WriteTable(Kill_Info) net.Broadcast()

4 Days Ago
by Pwned231 Go to last post
11 368
Question

How to decompile open or modify a dll as example SLAM

How do you decompile and then modify the content inside a dll file? As example the SLAM.exe and SLAM.dll

4 Days Ago
by karl-police Go to last post
21 735
Question

Developer Discord

Is there a Discord server that some people from here are in? It would be nice to have a place to ask/answer questions quicker that on the forums or Steam.

VeXan 1 people are reading this thread x 1
4 Days Ago
by RileyGuy1000 Go to last post
5 297
Help

Decreasing the amount of damage a player takes in general

Hello I have developed a skill system. I am trying to make a skill called resistance which decreases the amount of damage you take from anything. However, I cannot find out why my set resistance on spawn code is not working. My player keeps taking 10...

4 Days Ago
by Thiefdroid Go to last post
3 154
Help

solved Workshop upload help

Help, i cant upload content for server? log: ooking in folder "C:/Program Files (x86)/Steam/steamapps/common/GarrysMod/garrysmod/addons/123123123/" materials/atlaschat/check.png materials/atlaschat/cross.png materials/atlaschat/emotes.png...

4 Days Ago
by Kris101 Go to last post
5 84
Lua

solved Quick question about lua file inclusion

file1.lua include("file2.lua") eggs() file2.lua include("file3.lua")

4 Days Ago
by Lavacoal123 Go to last post
4 83
Question

Create a chair

Bcause i honestly dont know where to put my thread i just kinda double post it i guess? https://facepunch.com/showthread.php?t=1568365

4 Days Ago
by Kris101 Go to last post
1 99
Help

Getting vector from cursors position?

Is this possible to do? I have tried using (gui.ScreenToVector( gui.MousePos()).x*2048) but that only did what I wanted if the camera angle is straight above the player(90 degrees), my camera angles are 45,-45. (isometric) I have tested many different...

5 Days Ago
by Thiefdroid Go to last post
5 158
Help

solved Dock(TOP) Panel Notifications fade out

Hey Guys, Ok so I made this: local PanelT = vgui.Create("DNotify") PanelT:Dock(TOP) local TextoT = vgui.Create("DLabel", PanelT) TextoT:Dock(TOP)

5 Days Ago
by Pwned231 Go to last post
6 98
Lua

Problem with general script...

for some reason this does nothing when I spawn an object idk what I did wrong... function FPlayerSpawnedProp(ply,model,ent) name = ent:GetName() print (name) end hook.Add("PlayerSpawnedProp","UniqueIdentifier1","FPlayerSpawnedProp") When I...

5 Days Ago
by code_gs Go to last post
6 144
Help

models stuck on the one in single player

Hi, I have a deathrun server and when ppl join they have there single player model, Now i dont want that so how do I change it ?

soosy 1 people are reading this thread x 1
5 Days Ago
by rtm516 Go to last post
3 83
Lua

Rigging weapons to crotch?

Hello. I'm making a simple chat command that turns you into a minge from war of the servers and I'm having an issue with something. I need to rig the physgun to their crotch, but it keeps on appearing on the player's hand. I already have the T-Pose...

5 Days Ago
by Shadow02 Go to last post
3 140
Help

solved I need help with IF staement/checking to prevent a bug in my code

The addon is an entity that allows the player to interact with it (Press E), and it will change their playmodel temporarily. For example: A gangster can buy and use it to disguise as a Police-Officer to fool them. The bug The bug that I am...

5 Days Ago
by Slimy10 Go to last post
10 219
Question

solved Need help finding an addon if possible

Hello there, so i've been trying to help my friend's server and I think that we all know that when we use the stacker tool we can basically stack down and that can crash a server, so do you guys know how to disable props from stacking thought the world?

5 Days Ago
by Deadlux Go to last post
2 101
Lua

An Own Win-Text in TTT ?

Hello. Iīm programming an Event-Script for TTT. I finished an Event that kill every living Person after 300 Seconds if no team has won. For this I want to make an own wintext ("Draw"). It should work like on the screenshot. I have no Idea what I have...

5 Days Ago
by OwnedbyCube Go to last post
2 103
Help

solved Everyone can use TTT debug commands

Hey, Recently found out users could use Debug commands on my server.(http://ttt.badking.net/config-and-commands/commands) Anyone have any ideas on how to stop this / what could have caused it. Thanks in advance. -Adam

5 Days Ago
by kantalketche Go to last post
1 83
Help

Hello! Need help with two things! An Addon and server Placement.

Hey guys, just wondering if you could help me with Drovers weapon armoury. I am currently stuck and cannot work out how to have them shut and refresh after about 3 minutes could anyone help? Also my server is a PrisonRP server but comes under another...

5 Days Ago
by shootbysteve Go to last post
5 182
Lua

[PSA] NeuroTec NueroBase spamming loud audio ads ( 2 3 4 5 Last )

I was having this issue with loud as fuck audio ads spamming while doing shit in singleplayer, so I had my friend Ultra make some tools to help trace the issue, but the ads were inconsistent at the time and we couldn't find anything. Today the ads just...

5 Days Ago
by The Commander Go to last post
171 14,249
Help

'IsUserGroup' (a nil value) Help please!!

Alrighty so I've tried to implement a system where once you hit a ULX command it sends a concommand to whitelist a player. Instead of whitelisting the player it then spits this out from the console. ...

5 Days Ago
by code_gs Go to last post
3 118
Help

Developer Needed

Hi im looking for a developer to help me with making a gmod gamemode. this gamemode will require custom maps/scripts ETC. My main contact is through my discord my name is Freestyle on discord if your interested contact me through there...

5 Days Ago
by Kris101 Go to last post
2 127
Help

GMOD Lua beginner here - Need help

Greetings, I have a problem with my first somewhat actually useful script in GMOD I am trying to make a LUA script/addon where my player turns his head when i press E while running. (Outlast style) hook.Add( "KeyPress", "lookback", function(ply)...

6 Days Ago
by MPan1 Go to last post
7 342
Lua

solved DNotify Dock(TOP) not working?

Hey guys, Ok so I'm trying to make a Notification, and I wanted to make it like, if I send 2 of them, the second would go on the default position and the first one would go under the second one. But what is happening right now is, the first...

6 Days Ago
by wh1t3rabbit Go to last post
2 74
Help

Canceling a timer

Is there a way to cancel a timer once it has been created? I have a timer set on a Ply.KeyDown, and I want it to cancel on my Ply.KeyUp Also as a side note, are you able to set a +(func) button as a keydown/up, eg. +use, or +walk

6 Days Ago
by JasonMan34 Go to last post
10 891
Help

solved ULX Error

I am getting this error in my console about 10 seconds after I join my server: lua/includes/extensions/net.lua:182: net.ReadType: Couldn't read type 224 1. error - :-1 2. ReadType - lua/includes/extensions/net.lua:182 3. ReadType -...

6 Days Ago
by TheHorizon Go to last post
10 126
Help

solved PAC Editor - Change the body model but not the head?

Hello I am using something called PACLite to make cool equipable items on my server. However, I was trying to make a PAC outfit that changes the player's body model but not the head. What I am looking for is a gman suit model with a citizen head. I was...

6 Days Ago
by RaKo Go to last post
1 95
Lua

Change ENT's Think function after spawned

Hello, I wanted to know if there was a way to change an entity's Think function after its spawned. Example below: local door = ents.Create( "my_door" ) if ( not IsValid( door ) ) then return end door:Spawn() function door:Think() ...

6 Days Ago
by NeatNit Go to last post
7 152
Help

If statement question.

Hi, is it possible to do something like "if(number is equal to nine or five)"( if(num == 5 || 9)... ) without doing it like this: if(num == 5 || num == 9) then... Thanks in advance.

6 Days Ago
by NeatNit Go to last post
5 158