02.04.2012, 03:27
Can try this out
I say maybe this on the basis of...
I know that works, not sure about what I posted above
pawn Код:
new npc_phrases[][] = {
"Blah Blah Blah %s.",
"Hello %s.",
"%s sucks."
};
// Then doing
new rand = random(sizeof(npc_phrases));
format(text_to_send, sizeof(text_to_send), npc_phrases[rand], playername);
pawn Код:
#define PlayerPath "Something/%s.ini"
format(file, sizeof(file), PlayerPath, Name(playerid));