I am making a teleporter that will teleport you to either Falador, Varrock or Lumbridge. What would i use so that the user can choose which one they want to teleport to?
I am making a teleporter that will teleport you to either Falador, Varrock or Lumbridge. What would i use so that the user can choose which one they want to teleport to?
strings? integers? booleans? extended? all 4 will work.. lol
Edit: or a const...
Yes as Timer said.
Make a constant at the top of your script using one of those.
Strings and Integers are probably most practical.
Ex.
SCAR Code:const
TeleportTo = 1; {1=Lumbridge; 2=Varrock; 3=Falador;}
//or
TeleportTo = 'Lumbridge'; {Lumbridge, Varrock, or Falador?}
i think string is better=p example:
SCAR Code:Players[0].Strings[1] := 'Varrok';//EXAMPLE
read tuts if you dont understand that
const are ok but look too noobish no fence timer my lova =p![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)