24.10.2013, 17:45
I'm trying to write a string to someones player file, when they are banned.
What I'm trying to do;
I've tried things like
strcpy(PlayerInfo[playerid][pBanReason], reason, sizeof(reason));
that just gives an error... I'm not sure how to go about doing this?
What I'm trying to do;
Код:
PlayerInfo[playerid][pBanReason] = reason; PlayerInfo[playerid][pBannedBy] = GetPlayerNameEx(giveplayerid);
strcpy(PlayerInfo[playerid][pBanReason], reason, sizeof(reason));
that just gives an error... I'm not sure how to go about doing this?