need get player ip help
#1

I am embarassed to ask, since im such a noob and i cant figure it out here is my code, it wont compile because i dont know how to assing getplayerip to a string so i can use and print it out so any help would be nice thanks

Код:
if(PlayerAdminLevel[playerid] == 1337)
	{
  tmp = strtok(cmdtext, idx);
  if(!strlen(tmp)) {
  SendClientMessage(playerid, COLOR_ERROR, "USAGE: /getip (id)");
  return 1;
  }
	GetPlayerIp = %P;
	SendClientMessage(playerid,0xA9A9A9AA,"Player IP : %P");
	}
	else
	SendClientMessage(playerid,0xFF0000AA,"You Cannot Use This Command.");
	return 1;
	}
Reply


Messages In This Thread
need get player ip help - by AgentE420 - 31.01.2009, 18:12
Re: need get player ip help - by ICECOLDKILLAK8 - 31.01.2009, 19:05
Re: need get player ip help - by Shadowww - 31.01.2009, 19:14
Re: need get player ip help - by AgentE420 - 01.02.2009, 00:27
Re: need get player ip help - by EnerG - 03.02.2009, 11:15
Re: need get player ip help - by AgentE420 - 05.02.2009, 04:21

Forum Jump:


Users browsing this thread: 1 Guest(s)