06.09.2011, 21:21
(
Последний раз редактировалось Phanto90; 08.09.2011 в 13:50.
)
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 5x10Changelog
• 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!
Код:
** Version 1.1 -Added rows checking algorithm (altought a bit rough as system)
• 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.
PBlock 1.1 (pastebin) [save as PBlock.inc]
//Sorry for my awful english :P