Clan command shows ID 0 instead of anything else
#10

Quote:
Originally Posted by Calisthenics
Посмотреть сообщение
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);
Alright now everything is fine, thanks to you and everyone else.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)