Thread: GIVECASH
View Single Post
Old 30/11/2017, 06:47 AM   #7
Mivco
Big Clucker
 
Mivco's Avatar
 
Join Date: Mar 2015
Location: Slovakia
Posts: 60
Reputation: 0
Default Re: GIVECASH

Quote:
Originally Posted by Dayrion View Post
"castka" is already an integer.
You can't use strval on it (since strval need a string as a parameter).
PHP Code:
PlayerInfo[playerid][BankMoney]+=strval(castka); 
GivePlayerMoney(playerid,-strval(castka)); 
You should read error message carefully.
So how do it make it work if I want to to make a player through ClickPlayer send the player money from the Bank
Mivco is offline   Reply With Quote