SA-MP Forums Archive
Help Me !! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help Me !! (/showthread.php?tid=356547)



Help Me !! - kamaldeepcool - 04.07.2012

Hello Guys ,

I Am New Here And I Need A Filter Script Of E boost Or Vehicle Speed ...

Please Help Me ...

Thanks..


Re: Help Me !! - SnG.Scot_MisCuDI - 04.07.2012

http://lmgtfy.com/?q=eboost+samp


Re: Help Me !! - kamaldeepcool - 04.07.2012

Wow Thanks Dude

1 More Help I Need !!

I Need Score System !! 1 Score Per 1 Minute Can You Help Me >?>

Thanks Again


Re: Help Me !! - SnG.Scot_MisCuDI - 04.07.2012

pawn Код:
forward Score();
OnGameModeInit

pawn Код:
SetTimer("Score", 60000, 1);
pawn Код:
public Score()
{
    Loop(i, MAX_PLAYERS)
    {
        if (IsPlayerConnected(i))
        {
            SetPlayerScore(i, GetPlayerScore(i) + 1));
            new str[258];
            format(str,sizeof(str),"** You have gained one score");
            SendClientMessage(i, COLOR_GREEN, str);
        }
    }
    return 1;
}



Respuesta: Help Me !! - kamaldeepcool - 04.07.2012

Can You Give Me The FS Cuz I Don't Know How To Script Well...

Btw You Helped Me A Lot ...

Thanks Dude :*


Re: Help Me !! - SnG.Scot_MisCuDI - 04.07.2012

its not a FS just add it under these things..
On top under
pawn Код:
#define <a_samp>

forward Score();
pawn Код:
public OnGameModeInit()
{
     SetTimer("Score", 60000, 1);
     return 1;
}
On bottom of script

pawn Код:
public Score()
{
    Loop(i, MAX_PLAYERS)
    {
        if (IsPlayerConnected(i))
        {
            SetPlayerScore(i, GetPlayerScore(i) + 1));
            new str[258];
            format(str,sizeof(str),"** You have gained one score");
            SendClientMessage(i, COLOR_GREEN, str);
        }
    }
    return 1;
}