getip doesn't work properly
#6

Quote:
Originally Posted by saffierr
Посмотреть сообщение
::Nevermind::
It's fixed!
I just had to put %s instead of %i.
But can you explain me, How should I know ip is a %s(tring) and not %i(nteger) because integer has to do with numbers, but so does an ip lol.
pawn Код:
new playerip[20];
GetPlayerIp(playerid, playerip, sizeof(playerip));
If you read that, you'll understand... are using string, not numbers.
Reply


Messages In This Thread
getip doesn't work properly - by saffierr - 28.03.2015, 02:23
Re: getip doesn't work properly - by Jefff - 28.03.2015, 02:31
Re: getip doesn't work properly - by saffierr - 28.03.2015, 02:39
Re: getip doesn't work properly - by Jefff - 28.03.2015, 02:41
Re: getip doesn't work properly - by saffierr - 28.03.2015, 02:41
Respuesta: Re: getip doesn't work properly - by Juand - 28.03.2015, 02:46
Re: getip doesn't work properly - by CalvinC - 28.03.2015, 09:58

Forum Jump:


Users browsing this thread: 4 Guest(s)