Got a few minutes this morning to finish the maps section.
For anyone interested in writing PHP, the function below is what I wrote to overcome the strrpos PHP4 functionality.
Now, if anyone who can see the How To forum would like to do the honours of uploading a few maps that would be awesome.
Maps Section Finished =)
MOD Creator
MOD Creator
Code
Can't post the code in the main topic because the news page can't handle code blocks yet =P
Code: Select all
function Q_strrpos( $sHaystack, $sNeedle )
{
$iFound = 0;
$iPos = 0;
$bDone = false;
while ( !$bDone )
{
$iPos = strpos( $sHaystack, $sNeedle, $iPos + 1 );
if ( $iPos != false )
{
$iFound = $iPos;
}
else
{
$bDone = true;
}
}
return $iFound;
}
I'm here!
Who is online
Users browsing this forum: No registered users and 2 guests