SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 06/09/2011, 09:21 PM   #1
Phanto90
Huge Clucker
 
Phanto90's Avatar
 
Join Date: Mar 2011
Location: Milan, Italy
Posts: 352
Reputation: 31
Default PBlock (PMinigames)

What's this?
This is a little game I’ve seen somewhere (maybe on a sa:mp server, but I've not seen released anywhere) that I rebuild.
The game is the follow:
• Player can move a block that is spawned up in a table and can move it freely around in a table of 5x10
• When 3 or more blocks of the same color are places one next to another they will cancel and player will score a point.
• It uses only 5 textdraws for all players, so don’t worry about textdraw’s number.
• Nice sound effects. (If you hates that stupid music just remove PB_PlaySound function when the game starts)
• Use RIGHT and LEFT to play! Include in your gamemode & Have a nice game!
Changelog
Code:
** Version 1.1
-Added rows checking algorithm (altought a bit rough as system)
Main Fuctions

• PBlock_StartGame(playerid)
Start the game for a player.

• PBlock_ExitGame(playerid)
Terminates the game for a player.
Note: It is automatically called when a player disconnects


Screens
*Note: the background is grey because my character was falling in nothing.




Download
PBlock 1.1 (pastebin) [save as PBlock.inc]

//Sorry for my awful english :P
Attached Images
File Type: png PBlock.png (12.4 KB, 635 views)
File Type: png sa-mp-039.png (37.7 KB, 641 views)
File Type: png sa-mp-038.png (20.9 KB, 618 views)
File Type: png sa-mp-037.png (18.3 KB, 613 views)
File Type: png sa-mp-036.png (23.2 KB, 619 views)
__________________


Latest Releases
FilterscriptsIncludesMaps
PRaceSystem v1.3 PBlock v1.1Electronic Shop
PVotekick v1.1PInventory v1.1
________________________
I don't script for money, stop asking for it.


Last edited by Phanto90; 08/09/2011 at 01:50 PM.
Phanto90 is offline   Reply With Quote
Old 06/09/2011, 09:24 PM   #2
FireCat
Banned
 
Join Date: Jul 2010
Posts: 2,471
Reputation: 596
Default Re: PBlock (PMinigames)

Hahahahaha epic! Aka tetris >: D
FireCat is offline   Reply With Quote
Old 06/09/2011, 09:27 PM   #3
Anzipane!
Big Clucker
 
Anzipane!'s Avatar
 
Join Date: Jul 2010
Location: Ravenna, Italy
Posts: 82
Reputation: 5
Default Re: PBlock (PMinigames)

Pretty cool Phanto! Thanks for sharing
__________________







- Hi, I'm a electronic/techno music producer, listen to my songs on my YouTube channel!
Anzipane! is offline   Reply With Quote
Old 06/09/2011, 09:32 PM   #4
dowster
Gangsta
 
dowster's Avatar
 
Join Date: Jun 2010
Location: San Fierro
Posts: 673
Reputation: 69
Default Re: PBlock (PMinigames)

i remember this too, he had it on his server
__________________
dowster is offline   Reply With Quote
Old 06/09/2011, 09:46 PM   #5
LDR_
Little Clucker
 
Join Date: Sep 2011
Posts: 2
Reputation: 0
Default Re: PBlock (PMinigames)

LoL, Phanto ottimo!!
LDR_ is offline   Reply With Quote
Old 06/09/2011, 09:52 PM   #6
Phanto90
Huge Clucker
 
Phanto90's Avatar
 
Join Date: Mar 2011
Location: Milan, Italy
Posts: 352
Reputation: 31
Default Re: PBlock (PMinigames)

Quote:
Originally Posted by dowster View Post
i remember this too, he had it on his server
If can I ask, he who?
__________________


Latest Releases
FilterscriptsIncludesMaps
PRaceSystem v1.3 PBlock v1.1Electronic Shop
PVotekick v1.1PInventory v1.1
________________________
I don't script for money, stop asking for it.

Phanto90 is offline   Reply With Quote
Old 06/09/2011, 09:52 PM   #7
=WoR=Varth
High-roller
 
=WoR=Varth's Avatar
 
Join Date: Apr 2011
Location: Indonesia
Posts: 2,077
Reputation: 126
Default Re: PBlock (PMinigames)

Lol epic XD
__________________
Looking for scripter? PM me (NOPE RETIRED)
=WoR=Varth is offline   Reply With Quote
Old 06/09/2011, 10:46 PM   #8
Phanto90
Huge Clucker
 
Phanto90's Avatar
 
Join Date: Mar 2011
Location: Milan, Italy
Posts: 352
Reputation: 31
Default Re: PBlock (PMinigames)

Quote:
Originally Posted by Anzipane! View Post
Pretty cool Phanto! Thanks for sharing
:P
Quote:
Originally Posted by varthshenon View Post
Lol epic XD

Quote:
Originally Posted by FireCat View Post
Hahahahaha epic! Aka tetris >: D
Well the tetris i know it's a bit different, anyway thanks all
Hope to finish soon the rows deleting code
__________________


Latest Releases
FilterscriptsIncludesMaps
PRaceSystem v1.3 PBlock v1.1Electronic Shop
PVotekick v1.1PInventory v1.1
________________________
I don't script for money, stop asking for it.

Phanto90 is offline   Reply With Quote
Old 06/09/2011, 10:51 PM   #9
_All3Xz_
Little Clucker
 
Join Date: Sep 2010
Posts: 1
Reputation: 0
Default Re: PBlock (PMinigames)

bravo panto!
_All3Xz_ is offline   Reply With Quote
Old 06/09/2011, 10:55 PM   #10
dowster
Gangsta
 
dowster's Avatar
 
Join Date: Jun 2010
Location: San Fierro
Posts: 673
Reputation: 69
Default Re: PBlock (PMinigames)

Quote:
Originally Posted by Phanto90 View Post
If can I ask, he who?
no idea, ill check my long list of subbed threads lol
__________________
dowster 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



All times are GMT. The time now is 11:52 PM.


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