Gal matot klaidu?

Šiame forume rašomi vartotojų klausimai/problemos su kuriomis jie susidūrė kuriant pluginus.
Post Reply
User avatar
psychical
Viršininkas
Posts: 2094
Joined: 2011 Mar 12 22:19
Skype: tautvydas11
Location: Linksmakalnis
Contact:

Gal matot klaidu?

Post 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:

newb
Pluginų patvirtintojas
Posts: 1047
Joined: 2010 Sep 23 21:43
Location: Wonderland
Contact:

Re: Gal matot klaidu?

Post by newb »

Atsakysiu kaip hleV: Taip.

User avatar
psychical
Viršininkas
Posts: 2094
Joined: 2011 Mar 12 22:19
Skype: tautvydas11
Location: Linksmakalnis
Contact:

Re: Gal matot klaidu?

Post by psychical »

newb wrote:Atsakysiu kaip hleV: Taip.
O tai tada gal būtų galimybė padėti jas ištaisyti? :D

newb
Pluginų patvirtintojas
Posts: 1047
Joined: 2010 Sep 23 21:43
Location: Wonderland
Contact:

Re: Gal matot klaidu?

Post by newb »

Code: Select all

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


Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests