11.06.2010, 17:26
Ok thanks!
Now i want to create if the player connects bans him
his ip is 109.61.***.***
i dont know how to use GetPlayerIP
can you help?
will this work?
Now i want to create if the player connects bans him
his ip is 109.61.***.***
i dont know how to use GetPlayerIP
can you help?
Code:
new plrIP[16]; GetPlayerIp(playerid, plrIP, sizeof(plrIP)); if(!strcmp(plrIP, "109.61")) SendClientMessage(playerid, 0xFFFFFFFF, "hehehe -.-'"); Ban(playerid);