Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » I don't get why it don't page the player...
I don't get why it don't page the player... [message #468470] Wed, 06 June 2012 00:44 Go to previous message
Distrbd21 is currently offline  Distrbd21
Messages: 743
Registered: September 2008
Karma:
Colonel

I've looked at the examples witch say to use InputConsole, but the I get an error InputConsole is a nil value.

So I changed it to Console_Input, and it give's no errors, but it doesn't page me when I don't have enough money, even when I do it still doesn't page me saying I bought it.
if Message == "!ram" then
		if (Get_Money(pID) < 700) then
			Console_Input("ppage %d You need 700 credits", pID)
		else
			Set_Money(pID, Get_Money(pID)-700)
			Grant_Powerup(Get_GameObj(pID), "POW_RamjetRifle_Player")
			Console_Input("ppage %d You received a RamjetRifle!", pID)
		end
end  


Live Your Life Not Some one Else's.| Sharing Is Caring

http://dsgaming.us/distrbd21/Distrbd21%20siggy.png

Cookie Jar

Suicide
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: anyone know where I can get the following textures?
Next Topic: Having problems with Attach_Script_Once
Goto Forum:
  


Current Time: Sat Nov 02 11:47:12 MST 2024

Total time taken to generate the page: 0.01163 seconds