Raised This Month: $ Target: $400
 0% 

Change the map and kick all clients


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
eRik
Junior Member
Join Date: Jul 2006
Location: HOLLAND!
Old 07-04-2006 , 14:30   Re: Change the map and kick all clients
Reply With Quote #1

Thankyou, Hawk!
__________________
eRik is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 07-04-2006 , 15:43   Re: Change the map and kick all clients
Reply With Quote #2

Shouldn't the kick_all function definition be like this...

Code:
  public kick_all(id, level, cid) {      if(!cmd_access(id, level, cid, 1))           return PLUGIN_HANDLED;      // other code here... }

or was there a major change between 1.70-1.75 that I don't know about?
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-04-2006 , 16:01   Re: Change the map and kick all clients
Reply With Quote #3

Quote:
Originally Posted by Zenith77
Shouldn't the kick_all function definition be like this...

[snipped due to edit bug]

or was there a major change between 1.70-1.75 that I don't know about?
Yes, but that's a more minor thing.

EDIT: Also, I just realized, the reason will always be blank unless you read the arg.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Reply



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 07:59.


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