SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 30/05/2011, 12:10 AM   #1
Amine_Mejrhirrou
Gangsta
 
Amine_Mejrhirrou's Avatar
 
Join Date: Dec 2010
Location: RAbat
Posts: 555
Reputation: 6
Smile very very short random player win money

was bored & create that in 5 min
this chose a random connected player and give random amount of money
Attached Files
File Type: pwn mony mony.pwn (1.5 KB, 173 views)
Amine_Mejrhirrou is offline   Reply With Quote
Old 30/05/2011, 07:02 AM   #2
Millionaire
Banned
 
Join Date: Apr 2011
Location: Los Santos => Groove Street
Posts: 226
Reputation: 10
Default Re: very very short random player win money

Nice
Millionaire is offline   Reply With Quote
Old 09/06/2011, 10:32 PM   #3
Amine_Mejrhirrou
Gangsta
 
Amine_Mejrhirrou's Avatar
 
Join Date: Dec 2010
Location: RAbat
Posts: 555
Reputation: 6
Default Re : very very short random player win money

thnks
Amine_Mejrhirrou is offline   Reply With Quote
Old 09/06/2011, 11:23 PM   #4
ScottCFR
Gangsta
 
Join Date: Nov 2009
Posts: 551
Reputation: 1
Default Re: very very short random player win money

Has this been tested? It doesn't look like it will work.
ScottCFR is offline   Reply With Quote
Old 16/06/2011, 09:27 PM   #5
Amine_Mejrhirrou
Gangsta
 
Amine_Mejrhirrou's Avatar
 
Join Date: Dec 2010
Location: RAbat
Posts: 555
Reputation: 6
Default Re : very very short random player win money

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
Amine_Mejrhirrou is offline   Reply With Quote
Old 16/06/2011, 09:40 PM   #6
Kane_Phoenix
Big Clucker
 
Kane_Phoenix's Avatar
 
Join Date: Feb 2008
Posts: 79
Reputation: 14
Default Re: very very short random player win money

that doesnt work and you can do this easier
Kane_Phoenix is offline   Reply With Quote
Old 16/06/2011, 10:09 PM   #7
Amine_Mejrhirrou
Gangsta
 
Amine_Mejrhirrou's Avatar
 
Join Date: Dec 2010
Location: RAbat
Posts: 555
Reputation: 6
Default Re : very very short random player win money

i just test it in ! i insert it in riverShal G.m and it works
Amine_Mejrhirrou is offline   Reply With Quote
Old 16/06/2011, 10:27 PM   #8
ScripterTroll
Big Clucker
 
ScripterTroll's Avatar
 
Join Date: Jun 2011
Location: Minas Gerais
Posts: 51
Reputation: 0
Default Respuesta: very very short random player win money

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
ScripterTroll is offline   Reply With Quote
Old 16/06/2011, 10:30 PM   #9
Amine_Mejrhirrou
Gangsta
 
Amine_Mejrhirrou's Avatar
 
Join Date: Dec 2010
Location: RAbat
Posts: 555
Reputation: 6
Default Re : Respuesta: very very short random player win money

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
Amine_Mejrhirrou is offline   Reply With Quote
Old 15/11/2011, 04:54 PM   #10
Amine_Mejrhirrou
Gangsta
 
Amine_Mejrhirrou's Avatar
 
Join Date: Dec 2010
Location: RAbat
Posts: 555
Reputation: 6
Default Re : very very short random player win money

update
Amine_Mejrhirrou is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New player gets random money :S leapfish Help Archive 8 07/03/2010 01:39 PM
One short question about Player Class Dujma Help Archive 4 21/10/2009 01:14 AM
Money Drop all the player money? steven_italy Help Archive 1 15/06/2009 12:16 PM


All times are GMT. The time now is 12:04 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.