Scores = money
#1

I need scores = money i have .. for ex . i have $1000 in my money so i must have 1000 score
and i also need 5000 score when any play enter .. i need amx file and pwn file cuz my pawno dont work anymore . thanks
Reply
#2

Код:
stock _GivePlayerMoney(playerid, money) 
{
GivePlayerMoney (playerid, money);
SetPlayerScore (playerid, money);
return true;
}

#define GivePlayerMoney _GivePlayerMoney
Reply
#3

http://www.mediafire.com/download/rn...3/Untitled.amx
Put it in your 'filterscripts' folder.
In server.cfg add it to the fliterscripts line e.g
Quote:

filterscripts Untitled

EDIT:
Quote:
Originally Posted by ReVo_
Посмотреть сообщение
Код:
stock _GivePlayerMoney(playerid, money) 
{
GivePlayerMoney (playerid, money);
SetPlayerScore (playerid, money);
return true;
}

#define GivePlayerMoney _GivePlayerMoney
You got it wrong.
He wants that his money will be equal to his score. Like LVDM.
Reply
#4

PHP код:
public OnPlayerUpdate(playerid)
{
   
SetPlayerScore(playeridGetPlayerMoney(playerid));

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)