SA-MP Forums Archive
[FilterScript] very very short random player win money - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] very very short random player win money (/showthread.php?tid=258309)



very very short random player win money - Amine_Mejrhirrou - 30.05.2011

was bored & create that in 5 min
this chose a random connected player and give random amount of money


Re: very very short random player win money - Millionaire - 30.05.2011

Nice


Re : very very short random player win money - Amine_Mejrhirrou - 09.06.2011

thnks


Re: very very short random player win money - ScottCFR - 09.06.2011

Has this been tested? It doesn't look like it will work.


Re : very very short random player win money - Amine_Mejrhirrou - 16.06.2011

actualy i use this system to chose and change a randome player team
i used the same code (i've added a timer and few things ) but it works perfectl


Re: very very short random player win money - Kane_Phoenix - 16.06.2011

that doesnt work and you can do this easier


Re : very very short random player win money - Amine_Mejrhirrou - 16.06.2011

i just test it in ! i insert it in riverShal G.m and it works


Respuesta: very very short random player win money - ScripterTroll - 16.06.2011

Good work, it is a very util and simple .-.

Hey, use:

pawn Code:
GetRandomPlayer(iPlayer = INVALID_PLAYER_ID)
{
    offline:
    iPlayer = random(MAX_PLAYERS);
   
    if(!IsPlayerConnected(iPlayer)) goto offline;
    return iPlayer;
}
Hugs


Re : Respuesta: very very short random player win money - Amine_Mejrhirrou - 16.06.2011

Quote:
Originally Posted by ScripterTroll
View Post
Good work, it is a very util and simple .-.

Hey, use:

pawn Code:
GetRandomPlayer(iPlayer = INVALID_PLAYER_ID)
{
    offline:
    iPlayer = random(MAX_PLAYERS);
   
    if(!IsPlayerConnected(iPlayer)) goto offline;
    return iPlayer;
}
Hugs
true it's simpler like that


Re : very very short random player win money - Amine_Mejrhirrou - 15.11.2011

update