[CAMPANIE STAFF]Cautam moderatori si designeri activi!
Welcome to WTFCS Community Forums!
Servere gaming la super-preturi! [HOSTING SERVICE]
-->






[Tutorial] Cum sa scada wantedul din 5 in 5 minute
Author : SaTaNa99, Category : Tutoriale, 0 Replyes, 1267 Views
EVALUATE THIS TOPIC
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
1 Guest(s)
fondator rsp.wtfcs.com
 
421
POSTS
150
THREADS
0
REPUTATION
Male
Sex

WtfCs Coins: -0.01[w]
01-09-2014, 11:32 AM (This post was last modified: 01-09-2014, 11:33 AM by SaTaNa99.)
#1
Cum sa scada wantedul din 5 in 5 minute. Deci scriptul va venii in felul urmator:

SetTimer("dLevelEx", 300000, 1);


Iar la sfarsitul modului:


forward dLevelEx();
public dLevelEx()
{
new whd;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
whd = WantedLevel[i];
if (whd>0)
{
whd--;
SetPlayerWantedLevel(i,whd);
WantedLevel[i] = whd;
}
}
}
}
Regulament forum: You are not allowed to view links. Register or Login to view.

You are not allowed to view links. Register or Login to view.

You are not allowed to view links. Register or Login to view.


Forum Jump: