Page 1 of 1

Gal matot klaidu?

Posted: 2011 Aug 11 02:59
by psychical

Code: Select all

#include <amxmodx> public plugin_init(){    register_plugin("Only nick via IP", "1.0", "REZ.LT")} public client_putinserver(id) {    new szIP[32], szName[32];    get_user_ip(id, szIP, 33);    get_user_name(id, szName, 33);            if(equal(szIP, "213.226.179.72") && !equal(szName, "Nikas"))        server_cmd("kick %s", szName);}
Gal matot klaidu? :hm:

Re: Gal matot klaidu?

Posted: 2011 Aug 11 12:05
by newb
Atsakysiu kaip hleV: Taip.

Re: Gal matot klaidu?

Posted: 2011 Aug 11 13:29
by psychical
newb wrote:Atsakysiu kaip hleV: Taip.
O tai tada gal būtų galimybė padėti jas ištaisyti? :D

Re: Gal matot klaidu?

Posted: 2011 Aug 11 13:38
by newb

Code: Select all

get_user_ip(id, szIP, 31, 1);get_user_name(id, szName, 31);

Re: Gal matot klaidu?

Posted: 2011 Aug 11 14:29
by psychical
dq ;)