23.04.2014, 09:34
You must read the info below:
I tried to make something like when my mission will be completed ill get a dialog. That from where and to where i finished my mission and how much i get.
My codes:
errors:
I tried to make something like when my mission will be completed ill get a dialog. That from where and to where i finished my mission and how much i get.
My codes:
Код:
#define TXT_PlayerCompletedPilotJob "{FFFFFF}Pilot {FF00FF}%s{FFFFFF} succesfully transported {0000FF}%s{FFFFFF}" #define TXT_PlayerCompletedPilotJobInfo "ShowPlayerDialog(playerid,2222,DIALOG_STYLE_MSGBOX,"Mission Completed","Your mission has been completed from %s to %s","ok","");
Код:
// Construct the message sent to all players that this player completed a pilot mission format(Msg1, 128, TXT_PlayerCompletedPilotJob, Name, Load); format(Msg2, 128, TXT_PlayerCompletedPilotJobInfo, StartLoc, EndLoc); SendClientMessageToAll(0xFFFFFFFF, Msg1); SendClientMessageToAll(0xFFFFFFFF, Msg2);
Код:
E:\WOT\gamemodes\555.pwn(7067) : error 001: expected token: "-string end-", but found "-identifier-" E:\WOT\gamemodes\555.pwn(7067) : error 017: undefined symbol "Mission" E:\WOT\gamemodes\555.pwn(7067) : error 017: undefined symbol "Completed" E:\WOT\gamemodes\555.pwn(7067) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.