27.02.2019, 11:55
Quote:
The way you use sizeof(pInfo[playerid][pTag]) seems wrong, i doubt it will even compile, you'd need to put a #define MAX_TAG_LEN 32 in place of pTag size and use it as well in functions that need the pTag size.
Код:
#define MAX_TAG_LEN 32 enum PlayerData { pTag[MAX_TAG_LEN] } strcpy(pInfo[playerid][pTag], "Something", MAX_TAG_LEN); You can read the "Copying string" section on https://sampforum.blast.hk/showthread.php?pid=3517039#pid3517039 |