PDA

View Full Version : y_uvar help ...


Bect
19/03/2014, 06:48 PM
new rDate[40],Year,Month,Day,Hour,Minute,Second;
getdate(Year,Month,Day);
gettime(Hour,Minute,Second);
format(rDate,sizeof rDate,"%d/%d/%d at %d:%d:%d",Day,Month,Year,Hour,Minute,Second);
gPlayerData[playerid][E_PLAYER_REG_DATE] = rDate; - This is the error line !!!


error 006: must be assigned to an array

How can I fix this error ? Please help me !

Bect
19/03/2014, 07:09 PM
please help me !!! somebody...

Carac
19/03/2014, 08:08 PM
Don't make double posts please.
But here the line the error gave was this one right?
gPlayerData[playerid][E_PLAYER_REG_DATE] = rDate;

try this one gPlayerData[playerid][E_PLAYER_REG_DATE] = rDate);

I'm not sure if its going to work as I don't know the exact problem yet.

Bect
21/03/2014, 01:54 PM
not good !