Writing a string to playerfiles
#4

Quote:
Originally Posted by xVIP3Rx
Посмотреть сообщение
Maybe this ?
pawn Код:
format(PlayerInfo[playerid][pBanReason], sizeof(PlayerInfo[playerid][pBanReason]), "%s", reason);
That gives me errors.
I got
strcpy(PlayerInfo[playerid][pBannedBy], GetPlayerNameEx(playerid), MAX_PLAYER_NAME);
That works without error, it's just the ban reason I can't seem to get to work. I'll look into that tutorial...
Reply


Messages In This Thread
Writing a string to playerfiles - by Jacksta21 - 24.10.2013, 17:45
Re: Writing a string to playerfiles - by reckst4r - 24.10.2013, 17:46
Re: Writing a string to playerfiles - by xVIP3Rx - 24.10.2013, 17:49
Re: Writing a string to playerfiles - by Jacksta21 - 24.10.2013, 18:02

Forum Jump:


Users browsing this thread: 1 Guest(s)