|
|
#1 |
|
Little Clucker
![]() Join Date: Dec 2007
Posts: 4
Reputation: 0
|
greetings.
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 new Deck[4][13]; this is the Poker deck. which [4] is meaning Suit(Spade,Clover,Heart,Diamond) and [13] 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. Thank you ![]() |
|
|
|
|
#2 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: May 2009
Location: 127.0.0.1
Posts: 1,078
Reputation: 23
|
1.)
pawn Code:
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... Example: pawn Code:
Then you just need to check if the array has a value... Cheers. |
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| 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 11:22 AM |
| [HELP] help to make a poker. please. | rhkdgml2 | Help Archive | 2 | 07/12/2009 01:01 PM |
| [REQ] Texas Roleplay | Dripac | Help Archive | 1 | 01/09/2009 03:37 PM |