Score &money
#1

Guys plz help me can someone tell me or make it for me I
want I

so every 10mims uyou get a message saying

"Thankyou For Playing The Server Heres $5000 & +1 score"

and you get $5000 and 1 score
Reply
#2

Start a 10-min-timer (SetTimerEx, give the playerid as parameter) in OnPlayerConnect, and kill it in OnPlayerDisconnect.

In the timer func, use SendClientMessage, GivePlayerMoney, and SetPlayerScore.
Reply
#3

pawn Код:
public OnPlayerSpawn(playerid)
{
    SetTimer("PocketMoney", 600000, true);
    return 1;
}

forward PocketMoney();
public PocketMoney()
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        new pMoney, pScore;
        GetPlayerMoney(pMoney);
        GetPlayerScore(pScore);
        GivePlayerMoney(i, pMoney+5000);
        SetPlayerScore(i, pScore+1);
    }
}
Reply
#4

Thx vice city
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)