2 questions ??
#6

Question 1:

I recommend to you use any software to generate colours code. Type "colour picker" in search.

Question 2:

First you must create a timer to always check if the player has the money:
In Top of your GameMode/Fs:
pawn Код:
CheckMoney();
In OnGameModeInit/OnFilterScriptInit
pawn Код:
SetTimer("CheckMoney",1000,1); //1 second
Second, you must create a function to verify player money:
(Put in any anywhere):
pawn Код:
public CheckMoney()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && GetPlayerMoney(i) == -10000)
{
//JAIL FUNCTION HERE
}
}
return 1;
}
Reply


Messages In This Thread
2 questions ?? - by $$ Matej8700 $$ - 25.02.2010, 16:18
Re: 2 questions ?? - by Torran - 25.02.2010, 16:25
Re: 2 questions ?? - by VonLeeuwen - 25.02.2010, 16:42
Re: 2 questions ?? - by Torran - 25.02.2010, 16:46
Re: 2 questions ?? - by VonLeeuwen - 25.02.2010, 16:49
Re: 2 questions ?? - by LuxurioN™ - 25.02.2010, 16:51
Re: 2 questions ?? - by dice7 - 25.02.2010, 17:03

Forum Jump:


Users browsing this thread: 1 Guest(s)