Raised This Month: $ Target: $400
 0% 

Empty string? How can I check?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
killergirl
Senior Member
Join Date: Jul 2010
Old 05-06-2011 , 17:45   Empty string? How can I check?
Reply With Quote #1

I'm building up a plugin that saves data into a file. The problem is with the number of arguments. I'm trying to save 4 values (IT WORKS) but, If I execute the command with 3 values, the data line is also created, but with 3 values I can't make anything (for different functions). Anyway... this is the code:

PHP Code:
public function(idlvlcid)
{
   if(!
cmd_access(idlvlcid4))
      return 
PLUGIN_HANDLED

   read_argv
(1argOne31)
   
read_argv(2argTwo31)
   
read_argv(3argThree31)
   
read_argv(4argFour31)

I know I can't have 4 arguments, but maybe is there a way to use 4 arguments.
killergirl 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 04:31.


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