i need some help with memcpy
#3

Quote:
Originally Posted by Sunehildeep
Посмотреть сообщение
PHP код:
memcpy(pInfo[playerid], pInfo[MAX_PLAYERS], 0sizeof(pInfo[])*4sizeof(pInfo[]));   
memcpy(PlayerTemp[playerid], PlayerTemp[MAX_PLAYERS], 0sizeof(PlayerTemp[])*4sizeof(PlayerTemp[])); 
OP: Here's the fixed code, I made a lil' mistake at the end.

@RIDE2DAY;
It's used to set all the enum variables to zero, a little mistake in sizes changed a lot.
Im still getting the same errors
Reply


Messages In This Thread
i need some help with memcpy - by 1fret - 18.10.2017, 00:18
Re: i need some help with memcpy - by StrikerZ - 18.10.2017, 10:53
Re: i need some help with memcpy - by 1fret - 18.10.2017, 19:02
Re: i need some help with memcpy - by StrikerZ - 20.10.2017, 12:33
Re: i need some help with memcpy - by StrikerZ - 20.10.2017, 12:38

Forum Jump:


Users browsing this thread: 1 Guest(s)