16.12.2014, 15:41
I got it defined under 'enum'
Like that. I don't know if that's the correct way, but if I add
It will say that I already have 'GetPlayerName' and 'PlayerName' defined.
Код:
// Setup all the fields required for the player data (Speedometer TextDraw, current job, ...) enum TPlayerData { PlayerName[24], // Holds the name of the player
Код:
stock PlayerName(playerid) { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); return name; }