#1

pawn Код:
pInfo[playerid][Time] = DOF2_GetString(PFile(playerid), "Time");
    pInfo[playerid][Date] = DOF2_GetString(PFile(playerid), "Date");
pawn Код:
.___.pwn(117) : error 006: must be assigned to an array
.___.pwn(118) : error 006: must be assigned to an array
Reply
#2

Probably Info and Date aren't strings.
Reply
#3

Quote:
Originally Posted by roym899
Посмотреть сообщение
Probably Info and Date aren't strings.
pawn Код:
Time[120],
    Date[120],
pawn Код:
error 047: array sizes do not match, or destination array is too small
Reply
#4

pawn Код:
format(pInfo[playerid][Time], 120, DOF2_GetString(PFile(playerid), "Time"));
format(pInfo[playerid][Date], 120, DOF2_GetString(PFile(playerid), "Date"));
Reply
#5

Quote:
Originally Posted by mincer1667
Посмотреть сообщение
pawn Код:
format(pInfo[playerid][Time], 120, DOF2_GetString(PFile(playerid), "Time"));
format(pInfo[playerid][Date], 120, DOF2_GetString(PFile(playerid), "Date"));
thanks !
Reply
#6

Quote:
Originally Posted by mincer1667
Посмотреть сообщение
pawn Код:
format(pInfo[playerid][Time], 120, DOF2_GetString(PFile(playerid), "Time"));
format(pInfo[playerid][Date], 120, DOF2_GetString(PFile(playerid), "Date"));
oh, no work .. :S
Reply
#7

Quote:
Originally Posted by benel1
Посмотреть сообщение
oh, no work .. :S
Any error
Reply
#8

Quote:
Originally Posted by Shabi RoxX
Посмотреть сообщение
Any error
It does not make an error it just shows me numbers instead of letters ..
Reply
#9

You probably using %d to format it
Reply
#10

Quote:
Originally Posted by Shabi RoxX
Посмотреть сообщение
You probably using %d to format it
O.o
My bad I forgot to Tag[120]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)