Jump to content

Question

Posted

Buna ziua stimatilor. Am sa fiu scurt, este prima data cand intru aici si cer ajutorul cu ceva, vreau sa va intreb daca pe un Server de San Andreas MultiPlayer se poate defini o suma Maxima de bani. De exemplu 1 miliard, sa nu poti trece de 1 miliard . Astept raspunsuri.

<a href="http://www.userbars.be"><img src="http://img534.imageshack.us/img534/9098/36589.gif" alt="Free userbars" border="0"></a>

2 answers to this question

Recommended Posts

Posted

Daca suma de bani e mai mica decat poate suporta GTA:Sa,se poate limita cu un timer..

[pawn]

//OnGameModeInit

SetTimer("BlockMoney",2000,1);

//anywhere

forward BlockMoney();

public BlockMoney()

{

for(new i;i<MAX_PLAYERS;i++)

{

if(GetPlayerMoney(i)>10_000_000){

ResetPlayerMoney(i);

GivePlayerMoney(i,10_000_000);

}

}

}[/pawn]

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.