|06/12/2009, 01:36 PM||#1|
Join Date: Dec 2007
[How To]Poker / Texas Hold'em System
don't care my nickname, it's... little wierdo.
just call me Khaki.
my question is.
How to make a Poker system in pawno?
i try and try but couldn't figure out, so i writing this topic.
i just did
this is the Poker deck.
which  is meaning Suit(Spade,Clover,Heart,Diamond)
and  is meaning Number(2~10,J,Q,K,Ace)
1, how can i define this suit for each number ?
and another one, 2, how can i shuffle this?
i got more question
how can i distribute this card for player(3~5) and no overlapped card
all i need is just figure this problems out
sorry ma bad eng. i'm korean
so i hope you answer under this topic.
|06/12/2009, 01:40 PM||#2|
Join Date: May 2009
Re: [How To]Poker / Texas Hold'em System
#define Spade 1 #define Clover 2 #define Heart 3 #define Diamond 4 #define Ace 1 #define Joker 11 #define Queen 12 #define King 13
That's how it should work...
2.) For shuffling just use "random('Number')"
3.) For checking if its overlapped... well... maybe you need to make values into the array... maybe playerid's...
Then you just need to check if the array has a value...
|Thread||Thread Starter||Forum||Replies||Last Post|
|[FilterScript] [FS] Poker chip delivery mini-mission.||svenny555||Filterscripts||8||07/10/2011 08:36 PM|
|[HELP] Robbery system, tax system, houseing system||Commander_Shaw||Help Archive||3||15/09/2010 04:18 AM|
|[Help] Poker System||Mark k||Help Archive||4||03/01/2010 12:22 PM|
|[HELP] help to make a poker. please.||rhkdgml2||Help Archive||2||07/12/2009 02:01 PM|
|[REQ] Texas Roleplay||Dripac||Help Archive||1||01/09/2009 03:37 PM|