ZombieMod 4.0 Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Maps Section Finished =)

 
Reply to topic    ZombieMod 4.0 Forum Index » Announcements View previous topic
View next topic
Maps Section Finished =)
Author Message
c0ldfyr3
MOD Creator


Joined: 23 Apr 2006
Posts: 469
Location: Dublin, Ireland

Post Maps Section Finished =) Reply with quote
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.
Thu Apr 27, 2006 2:08 pm View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
c0ldfyr3
MOD Creator


Joined: 23 Apr 2006
Posts: 469
Location: Dublin, Ireland

Post Code Reply with quote
Can't post the code in the main topic because the news page can't handle code blocks yet =P

Code:
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;
}

Thu Apr 27, 2006 2:18 pm View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Ahmet
I'm here!


Joined: 27 Apr 2006
Posts: 10
Location: Naples, FL

Post Reply with quote
Woot loks pretty sweet.
My first post here.
I would like to find out how can i upload maps.
If this code is trying to explain something i dont get it Sad
Thu Apr 27, 2006 2:55 pm View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Display posts from previous:    
Reply to topic    ZombieMod 4.0 Forum Index » Announcements All times are GMT
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Original design by Freestyle XL / Flowers Online. Modified by SauceHelmet