help with wrong cmd MSG
#1

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
Reply
#2

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

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

ty its work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)