04.12.2013, 14:34
1) Try using "ADD COLUMN" over "ADD". You can also try removing that column and adding it back.
2) Don't use strmid for copying strings!
3) This is the INCORRECT way:
This is the correct way:
2) Don't use strmid for copying strings!
pawn Код:
#define strcpy(%0,%1) \
strcat((%0[0] = '\0', %0), %1)
mysql_fetch_field_row(savingstring, "playerteam");
strcpy(PlayerInfo[playerid][playerteam], savingstring, 50);
pawn Код:
PlayerInfo[giveplayerid][playerteam] = team;
pawn Код:
strcpy(PlayerInfo[playerid][playerteam], team, 50);
