Raised This Month: $ Target: $400
 0% 

how to make a plugin run once for a client which connects to the server.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Ex1ne
Senior Member
Join Date: Oct 2011
Location: Norway
Old 01-05-2012 , 06:08   Re: how to make a plugin run once for a client which connects to the server.
Reply With Quote #6

Quote:
Originally Posted by Erox902 View Post
PHP Code:
if(GiftUsed[id] == true) { 
        return 
PLUGIN_HANDLED 
--->
PHP Code:
if(GiftUsed[id] || !is_user_alive(id)) { 
        return 
PLUGIN_HANDLED 
*facepalm*
PHP Code:
    RegisterHam(Ham_Spawn"player""Spawn"1
It triggers by spawning, why check if he's alive? *facepalm again*
__________________
Ex1ne 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 12:09.


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