Raised This Month: $12 Target: $400
 3% 

Boolean Issue


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
allenwr
Veteran Member
Join Date: Jan 2006
Location: The place where the karm
Old 06-20-2009 , 22:59   Boolean Issue
Reply With Quote #1

I did my search already, found nothing.

PHP Code:
new bool:TimerActive[64]

public 
OnClientPutInServer(client) {
     ...
     
TimerActive[client] = false
     
return Plugin_Continue
}

public 
Action:PlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast) {
     if(
TimerActive[client] == false) {
        ...
        }
        
TimerActive[client] = true
     
}
     return 
Plugin_Continue;
}

public 
PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast) {
     ...
     if(
Timer5Active[victim] == true) {
        
Timer5Active[victim] = false
     
}
     return 
Plugin_Continue

For some reason when I spawn in the game, PlayerSpawn does not do what it should.
__________________
Don't ever place an order with Vee Servers. This is why.
allenwr is offline
Send a message via ICQ to allenwr Send a message via Yahoo to allenwr
 



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 19:21.


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