Raised This Month: $ Target: $400
 0% 

[SQL]If its 0 kill the plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
NiQu
Veteran Member
Join Date: Nov 2009
Old 05-09-2010 , 01:22   [SQL]If its 0 kill the plugin
Reply With Quote #1

Hello, ive been trying this for hours now with no success.
I have 2 rows..

Row #1: shutdown (default 0)
Row #2: server_ip (no default)

At plugin_init the plugin connects to SQL and adds the rows and after that i want to check if shutdown (int) is 1, and if it is 1 i want to kill the plugin or set fail state or something.

Ive been trying for hours with no success so i turn here for help.
How can i do this?
__________________
My Projects
  • RoTAPI V0.0.1 ------- Private
    • Progress - [||||||||||]
  • CashMod V0.0.6 ----- Public
    • Progress - [||||||||||]
  • CashMod V0.0.7 ----- Public
    • Progress - [||||||||||]
NiQu is offline
 


Thread Tools
Display Modes

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 03:39.


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