Rock Paper Scissors Game
2 Attachment(s)
Hi all! For some of you that access AlliedModders "en espaņol" might notice that I've already posted this plugin there, but now I'm gonna post it here :)
Features:
Updates: |
Re: Rock Paper Scissors Game
It looks like several of your variables are mutually exclusive and therefore create unnecessary code to have them in separate variables. For example, "rock", "paper", and "scissors" are mutually exclusive and would reduce the code required to handle them if they were in a single variable.
Examples: Define the following: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Re: Rock Paper Scissors Game
Quote:
Updated code. |
Re: Rock Paper Scissors Game
Fysiks g_var should be only 1 dimension ---> g_var[33]:
|
Re: Rock Paper Scissors Game
Quote:
|
Re: Rock Paper Scissors Game
What multiple variables?
|
Re: Rock Paper Scissors Game
Quote:
|
Re: Rock Paper Scissors Game
Quote:
And that was unecessary, so by Exertency's opinion, I stored all variables in one global variable to optimize the code. |
Re: Rock Paper Scissors Game
cna you give more informations..like does it works only with say command -> menu (choose 1 of 3 options) -> result...or it has some animations, sprites ect?
cuz i think its the same as: https://forums.alliedmods.net/showthread.php?t=220300 |
Re: Rock Paper Scissors Game
Quote:
Btw that plugin is kinda old and this one that I created has multiplayer challenges, so... yep is different :) |
All times are GMT -4. The time now is 22:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.