24.06.2018, 13:53
How to make players 4 trillion without negative money. Thank you
public OnPlayerUpdate(playerid)
{
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof panme);// here get the playername for playerid
if(!strfind(pname, "Player Username 1", true)// here check if playername = the trillion playername
GivePlayerMoney(playerid, money); // here give him his money replace money with the number that you want to give
if(!strfind(pname, "Player Username 2", true)
GivePlayerMoney(playerid, money);
if(!strfind(pname, "Player Username 3", true)
GivePlayerMoney(playerid, money);
if(!strfind(pname, "Player Username 4", true)
GivePlayerMoney(playerid, money);
return true;
}