using KEY_SUBMISSION in a string
#1

as the title says, using this fails.
pawn Код:
new Format[128];
    format(Format, 128, "[INFO] {FFFFFF}Press {FF0000}%s {FFFFFF}To View The Vehicle Options.",KEY_SUBMISSION);
    SendClientMessage(playerid, SexyBlue, Format);
Reply
#2

Why would you do that? KEY_SUBMISSION is defined by an number.

Simply send them message like
pawn Код:
SendClientMessage(playerid, -1, "[INFO] {FFFFFF}Press {FF0000}2 / NUM / + {FFFFFF}To View The Vehicle Options.");
Reply
#3

The keys are defined as numbers, they are just macros. I think you have to do this:
pawn Код:
SendClientMessage(playerid, SexyBlue, "[INFO] {FFFFFF}Press {FF0000} '2' {FFFFFF}To View The Vehicle Options.");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)