Error - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Error (
/showthread.php?tid=414998)
Error -
benel1 - 11.02.2013
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
AW: Error -
roym899 - 11.02.2013
Probably Info and Date aren't strings.
Re: AW: Error -
benel1 - 12.02.2013
Quote:
Originally Posted by roym899
Probably Info and Date aren't strings.
|
pawn Код:
error 047: array sizes do not match, or destination array is too small
Re: Error -
mincer1667 - 12.02.2013
pawn Код:
format(pInfo[playerid][Time], 120, DOF2_GetString(PFile(playerid), "Time"));
format(pInfo[playerid][Date], 120, DOF2_GetString(PFile(playerid), "Date"));
Re: Error -
benel1 - 12.02.2013
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 !
Re: Error -
benel1 - 12.02.2013
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
Re: Error -
Shabi RoxX - 12.02.2013
Quote:
Originally Posted by benel1
oh, no work .. :S
|
Any error
Re: Error -
benel1 - 12.02.2013
Quote:
Originally Posted by Shabi RoxX
Any error 
|
It does not make an error it just shows me numbers instead of letters ..
Re: Error -
Shabi RoxX - 12.02.2013
You probably using %d to format it
Re: Error -
benel1 - 12.02.2013
Quote:
Originally Posted by Shabi RoxX
You probably using %d to format it 
|
O.o
My bad I forgot to Tag
[120]