When I script, it adds bad weapons to me! Help!
Posted: Fri Dec 19, 2008 6:09 pm
If I make a script like this:
It adds a sniper/colt and some more weapons, and I don't want them in my map, I'm making a undercover map and the player start is close to the first quard and I don't have time to press "Q" to hide weapons.
What should I do to stop my script to add this weapons?
Code: Select all
main:
exec global/ambient.scr
exec global/cardgame.scr
exec global/loadout.scr
level waittill prespawn
wait 2
$player stufftext "tmstartloop sound/music/Kleveburg.mp3"
level waittill spawn
thread disguise
disguise:
$trigger waittill trigger
$suit remove
$papers remove
iprintlnbold "Show your papers when asked."
local.key = getboundkey1 "toggleitem"
iprintlnbold_noloc (loc_convert_string "Press the ( ") local.key (loc_convert_string " ) key to show your papers.")
$player playsound pickup_papers
$player playsound pickup_uniform
waitthread global/items.scr::add_item "papers_level1"
waitthread global/items.scr::add_item "uniform"
endWhat should I do to stop my script to add this weapons?