slird
  • slird
  • 50.25% (Neutral)
  • Major Topic Starter
10 years ago
Two quick questions:
1. How would I use a cash amount as a condition for a script (e.g.: when a player enters an area and has a certain amount of cash the script will trigger)?
2. How Do I subtract the said amount of cash from the players credits?
Sponsor
oliver
  • oliver
  • 50.25% (Neutral)
  • Major
10 years ago
the 1st is pretty simple.. as for the second, how about "gives -XXXX credits to the player"? (never tried but I think it's possible)

kinda like this... Or this isnt what you were asking?

*** IF ***
Player '' has units in area 'Name of the Area'.
*AND* XXXX is Less Than or Equal the number of credits possessed by Player ''
*** THEN ***
Player '' gets $ -XXXX
3D/2D Artist
slird
  • slird
  • 50.25% (Neutral)
  • Major Topic Starter
10 years ago
Didnt try it that way...Ill give it a shot, thanks.

***UPDATE***

That was the ticket man, works like a charm!