#1

In what file i can change money when user join the game??
Reply
#2

use giveplayermoney
and if u want a custom one u need a custom saving + adding system
Reply
#3

Quote:
Originally Posted by FaZeRs
Посмотреть сообщение
In what file i can change money when user join the game??
File, then you have to use a ini saving system and create cash variables for player inorder to save player's cash.

Or else,
You can use GivePlayerMoney function to give player money.
Usage:
pawn Код:
GivePlayerMoney(playerid,amount);
//Playerid refers to the player whom we are giving money.
//Change the amount to the amount, to give to the player.
Example:
pawn Код:
public OnPlayerSpawn(playerid) //When player gets spawned.
{
   GivePlayerMoney(playerid,100); //We've given $100 to the player who got spawned.
   return 1; //returning the function.
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)