Easy question
#1

I've been playing around a bit but haven't been able to figure it out.




sorry im bad at scripting
Reply
#2

use GivePlayerMoney
Reply
#3

Quote:
Originally Posted by Eth
Посмотреть сообщение
use GivePlayerMoney
how do i hook it up with my enums though
Reply
#4

Show Us your enum.
Reply
#5

These are my enums.
Код HTML:
enum pInfo
{
	pMoney,
	pBankMoney,
	pSavings,
};
Reply
#6

In the string user GetPlayerMoney(playerid) and To set money Use this :
pawn Код:
GivePlayerMoney(playerid,10000);
Reply
#7

Quote:
Originally Posted by M0HAMMAD
Посмотреть сообщение
In the string user GetPlayerMoney(playerid) and To set money Use this :
pawn Код:
GivePlayerMoney(playerid,10000);
GivePlayerMoney(playerid, PlayerInfo[playerid][pMoney]);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)