GivePlayerMoney(playerid, cookies * 10000); //The number of cookies will get multiplied by 10000 i.e 3 cookies, 30000. And that cash will be given to player