Raised This Month: $ Target: $400
 0% 

MSG_ONE error ..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-23-2011 , 22:26   Re: MSG_ONE error ..
Reply With Quote #7

Problem is here:
Code:
public client_authorized(id) {     set_task(35.0, "PrintText", id) } public PrintText(id) {     new message[256]     format(message, 255, "^x04[VIP]^x01 Write:^x03 /wantvip^x01 to chat.")     print_message(id, message)     return PLUGIN_CONTINUE }
client_authorized() does not mean player is in the server.
Also, player can disconnect before 35 seconds.
You should move the task to client_putinserver() and remove the task on client_disconnect().
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 01:56.


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