SA-MP Forums Archive
help with wrong cmd MSG - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help with wrong cmd MSG (/showthread.php?tid=483783)



help with wrong cmd MSG - Strike97 - 27.12.2013

Hey

help me with this script

Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(success == 0)
    return ShowPlayerDialog(playerid, DIALOG_ERROR, DIALOG_STYLE_LIST, "SERVER - Commands", "Server Commands - /Cmds\nServer Help - /Help\nServer Teleports - /Teles\Cars List - /V\nServer Radio - /Radio\nServer News - /Updates\nServer Updates - /Updates", "OK", "OK");
    return 1;
}
Код:
C:\xxxxxxxxxxxxxxxx\xxx\xxx\xxx\gamemodes\xxx.pwn(26622) : error 027: invalid character constant
C:\xxxxxxxxxxxxxxxx\xxx\xxx\xxx\gamemodes\xxx.pwn(26622) : error 027: invalid character constant
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase



Re: help with wrong cmd MSG - Konstantinos - 27.12.2013

Change: "... - /Teles\Cars List - ..."
to: "... - /Teles\nCars List - ..."


Re: help with wrong cmd MSG - cnoopers - 27.12.2013

use only showpdial in this callback, its have to work.


Re: help with wrong cmd MSG - Strike97 - 27.12.2013

ty its work