Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Scripts Part 3
Re: Scripts Part 3 [message #266692 is a reply to message #266666] Sat, 16 June 2007 12:42 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
joe937465 wrote on Sat, 16 June 2007 13:58

hmm ok ty a lot and how about price i wondering about that hahhaaha and what i image is jsut buy any vech that comes out of wf or air and buy turret and gt which u have Wink and any char u turn into on the spot srry lol im just looking at those codes trying to make heads or tails but i acutclly understand some!!!

when i get home later i will add them codes woot!



To make it cost something then add "Commands->Give_Money(obj,2000*-1.0f,false);", i would add it just after the turret is created.

What that line basically says is:

give this amount to the player that said "!turret" (2000 times -1). So it will actually give them -2000 credits. To change the cost just change "2000".


I really don't have time right now to explain how to do the rest. But you should be able to look at the random character crate and see how that changes a player, then adapt the same method I showed you for "!turret" to suit say "!buy_mobius".



 
Read Message
Read Message
Read Message
Read Message
Read Message icon12.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GB
Next Topic: SSGM, previously SSAOW, Version 2.0
Goto Forum:
  


Current Time: Thu Jan 02 15:44:32 MST 2025

Total time taken to generate the page: 0.01569 seconds