Can you pls help me? :D
#1

Can someone make me simple timer filterscript in which every 2 minutes player will get 1 score I will be happy if someone helps me!
Reply
#2

pawn Код:
#include <a_samp>

forward GiveScore();

public OnFilterScriptInit()
{
    SetTimer("GiveScore", 120000, true);
    return 1;
}

public GiveScore()
{
    for(new i=0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            SetPlayerScore(i, GetPlayerScore(i) + 1);
        }
    }
}
Reply
#3

THANK YOU SO MUCH!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)