AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   undefined symbol "set_user_money" (https://forums.alliedmods.net/showthread.php?t=2289)

kingpin 05-31-2004 20:20

undefined symbol "set_user_money"
 
Im getting :
Code:

undefined symbol "set_user_money"
on a plugin im trying to port over, whats the replacement for it in amxx, thanx.

knekter 05-31-2004 20:25

cstrike
 
#include cstrike

cs_set_user_money

kingpin 05-31-2004 20:27

thanks :)

Peli 05-31-2004 20:27

To check how much money they have :
Code:

/* Returns users money. */
native cs_get_user_money(index);

To set how much money they have :
Code:

/* Gives money to user. If flash is 1, the difference between new and old amount will flash red or green. */
native cs_set_user_money(index, money) flash = 1);

Good luck KingPin. :)

kingpin 05-31-2004 20:31

thanx, mini plugin flood incoming ppl :twisted:

QwertyAccess 05-31-2004 20:48

lol is it going to decrease people's money if they flood

kingpin 05-31-2004 20:52

lol no sorry i meant that i had a few plugins stashed away that im gonna start posting soon as I get permissions from their respective authors. and the flood plugin i guess I can add that feature of taking away money, what I had in mind was to actually just take away XP on shm or warIII servers.

QwertyAccess 05-31-2004 21:08

hehe well that'll be interesting taking money away for flooding.

kingpin 05-31-2004 21:08

yeah lol flood now u lamer... :lol:

Burnzy 05-31-2004 21:12

hahaha, take them out!!!


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

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