A little help please
#1

Код:
new price = GetPVarInt(i, "Contract");
			if(price != 0) {
				format(query, sizeof(query), "%d. %s[%d]: $%d",++n,GetPlayerNameEx(i, ENameType_RPName_NoMask),i,price);
				SendClientMessage(playerid, COLOR_LIGHTBLUE, query);
here the price is defined as what the user will put as the price.. but when I complete that I dont get my money..
Reply
#2

Where do you give the user the money?
Reply
#3

Quote:
Originally Posted by 10MIN
Посмотреть сообщение
Where do you give the user the money?
Код:
format(query, sizeof(query), "%d. %s[%d]: $%d",++n,GetPlayerNameEx(i, ENameType_RPName_NoMask),i,price);
here in the end, price. price = what user will put it as how much they want.
Reply
#4

But there is nothing that gives him money, man...
You need to use GivePlayerMoney(playerid, [MONEY TO GIVE]) if you use "clasic" money system , or whatever function your script have for giving a player money...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)