Script Help (rep+++)
#1

How i can make if the player is play 1 hours in the server to give him first rank
Rank 0) This will be your starter rank.
Rank 1 + $1000) After 1 hour of online overall.
Rank 2 + $2500) After 5 hours of online overall.
Rank 3 + $3500) After 10 hours of online overall.
Rank 4 + $5000) After 15 hours of online overall.
Rank 5 + $6500) After 25 hours of online overall.
Rank 6 + $7500) After 40 hours of online overall.
Rank 7 + $9500) After 55 hours of online overall.
Rank 8 + $12000) After 75 hours of online overall.
Rank 9 + $15000) After 90 hours of online overall.
Rank 10 + $25000) After 100 hours of online overall.
Like This FS
Reply
#2

Under OnPlayerConnect you would set a timer for one hour, then once that hour is up give them the first rank.

Example.
pawn Код:
new rank[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
    SetTimer("GiveFirstRank",60*1000*60,false);
    return 1;
}
forward(GiveFirstRank(playerid))
public GiveFirstRank(playerid)
{
    rank[playerid] = 1;
    SendClientMessage(playerid,-1,"You have reached Rank 1.");
    return 1;
}
That is just a very basic run down. To get what you want, you need a saving system, and you need to define variables that will hold a player's information.
Reply
#3

and can we make it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)