Dialog input text error
#1

pawn Код:
new idx;
new mailtmp[300];
mailtmp = strtok(inputtext, idx);
PlayerInfo[playerid][pMail] = mailtmp;
format(string, sizeof(string), " inputtext = %d ",PlayerInfo[playerid][pMail]);
SendClientMessage(playerid, COLOR_GRAD1, string);
When i type "SAMP@SAMP.COM" inputtext come out a number, like "94".

how to fix this?
Reply
#2

%d displays digits/integers, you need to replace the 'd' with 's' to show a string.
Reply
#3

oops, I should know that.

thx for help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)