Clan command shows ID 0 instead of anything else
#9

Make it a macro:
pawn Код:
#if !defined strcpy
    #define strcpy(%0,%1) strcat((%0[0] = '\0', %0), %1)
#endif
First parameter is the destination string which is `ClanInfo[clanid][ClanName]`
Second parameter is the source which is `clanname`
Third parameter is the length which is optional unless it is an enum-array.
pawn Код:
strcpy(ClanInfo[clanid][ClanName], clanname, 32);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)