Freaking error -_- [PLEASE HELP]
#6

Quote:
Originally Posted by HellSphinX
Посмотреть сообщение
That would give an error undefined symbol string.


pawn Код:
new ip[64], string[128];
GetPlayerIp(playerid, ip, sizeof(ip));
format(string, sizeof(string), "Your IP Address is: %s", ip);
ShowPlayerDialog(playerid, 1, DIALOIG_STYLE_MSGBOX, "IP Info", string, "Ok", "");
As you probably noticed, he only gave us a part of the code, meaning he already has string defined somewhere, probably on the top of the gamemode... All he asked for was to make it appear in a dialog.

Also I suggest an unique dialog that you don't use anywhere. So I hope 1 is not used, lol.
Reply


Messages In This Thread
How to Make it Into a DIALOG [HELP IMMEDIATLY] - by [Cali]ChrOnic_T - 20.07.2012, 06:29
Re: Freaking error -_- [PLEASE HELP] - by [KHK]Khalid - 20.07.2012, 06:33
Re : Freaking error -_- [PLEASE HELP] - by JakeMiller - 20.07.2012, 06:56
Re: Freaking error -_- [PLEASE HELP] - by Roperr - 20.07.2012, 07:09
Re: Freaking error -_- [PLEASE HELP] - by [KHK]Khalid - 20.07.2012, 07:18
Re: Freaking error -_- [PLEASE HELP] - by Roperr - 20.07.2012, 07:27

Forum Jump:


Users browsing this thread: 1 Guest(s)