Raised This Month: $ Target: $400
 0% 

Optimize help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Larcyn
Senior Member
Join Date: Oct 2010
Old 12-05-2011 , 11:23   Optimize help
Reply With Quote #1

Hello, is it possible to optimize this code?

PHP Code:

if(iRPS[iPlayer] == && iRPS[iTarget] == 2)
{
//Action here
}
    
if(
iRPS[iPlayer] == && iRPS[iTarget] == 3)
{
//Action here
}
    
if(
iRPS[iPlayer] == && iRPS[iTarget] == 1)
{
//Action here
}
    
if(
iRPS[iPlayer] == && iRPS[iTarget] == 1)
{
 
//Action here

If yes, how could it be done
Thanks in advance
__________________

Taking private requests, PM me for information.
Selling HideNSeek & Jailbreak plugins.

Selling Achievement API System (PHP &
MySQL / nVault)

Last edited by Larcyn; 12-05-2011 at 11:23. Reason: Edited Text
Larcyn is offline
 



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

Forum Jump


All times are GMT -4. The time now is 11:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode