09.05.2018, 04:44
Line 22
Line 23
You can't assign strings like that in PAWN. You should use format, or you can use a nice little snippet.
It stands for string copy. You use it like.
So now, change those lines to.
Change that 256 to the size of the variable.
Код:
ActorCache[uid][aCName] = name;
Код:
ActorCache[uid][aCDesc] = desc
Код:
#if !defined strcpy #define strcpy(%0,%1,%2) strcat((%0[0] = '\0', %0), %1, %2) #endif
Код:
strcpy(destination, source, size);
Код:
strcpy(name,ActorCache[uid][aCName],MAX_PLAYER_NAME); strcpy(name,ActorCache[uid][aCDesc],256);

