23.08.2017, 12:42
error: inputtext must be assigned to an array
23.08.2017, 12:46
You can't copy strings like that. Put this on top of your gamemode:
And change your line to
And replace ? ? with size of your rpname
pawn Код:
#define strcpy(%0,%1) \
strcat((%0[0] = '\0', %0), %1)
pawn Код:
strcpy(sInfo[playerid][rpname], inputtext, ? ?);
23.08.2017, 12:53
Thanks it worked! Everything works now
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)