09.05.2013, 20:33
(
Последний раз редактировалось LoLeRo; 09.05.2013 в 21:26.
)
Try with this:
Код:
stock SexGender(playerid) { new Sex2[3]; //IceCube! suggestion "Another off topic tip... You have new sex2[128]; it wastes memory not getting too advanced or there are better ways again but his and her is 3 always so only use the memory needed..." if(IsPlayerConnected(playerid)) { //i think you should use this: (1 = girl, 2 = boy) if(Player[playerid][Gender] == 1) { Sex2 = "her"; } else { Sex2 = "his"; } } return Sex2; }