AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   take money (https://forums.alliedmods.net/showthread.php?t=29849)

k007 06-14-2006 00:41

take money
 
umm is it possible when someone say a word in the next around after it money will be takin off him and if he only have 200 and it's suppost to take 500 it still take off money in the round after it again? :)

Xanimos 06-14-2006 01:23

Yes it is possible.

k007 06-14-2006 01:25

any examples or simple codes?

Xanimos 06-14-2006 02:30

Code:
cs_set_user_money ( index , money, [ flash = 1] )

Throstur 06-14-2006 13:54

he wants you to take money from the next round also, so if 20000 is taken away and player has 16000 then 4000 (or as much as possible) is taked from the player on the next time the player earns money.

k007 06-14-2006 18:13

yes!!! exactly man !!

Xanimos 06-14-2006 22:56

Quote:

Originally Posted by Throstur
he wants you to take money from the next round also, so if 20000 is taken away and player has 16000 then 4000 (or as much as possible) is taked from the player on the next time the player earns money.

I understood that, I would just rather people actually learn something instead of having it handed to them on a silver platter.

Throstur 06-18-2006 06:52

then perhaps a personalised tutorial? the whole community could benefice of it.


All times are GMT -4. The time now is 08:08.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.