07.01.2015, 06:43
i want change it to #define GetPlayerNameEx(%0, %1) (What should i do here)
i wont to use value variable and strcpy is it possible?
i wont to use value variable and strcpy is it possible?
Код:
GetPlayerNameEx(playerid, bool:underscore=true) { new value[MAX_PLAYER_NAME]; if (!underscore) { strcpy(value, PlayerData[playerid][pNickname], sizeof(value)); } else { strcpy(value, PlayerData[playerid][pUsername], sizeof(value)); } return value; }