17.07.2010, 13:12
Ok i have a code which someone gave to my friend in a following thread
It works and everything since its being used in stats, as stats usually use numbers like Admin: 4
Im wondering how i can change it to letters such as Admin: Trial Admin or something
Take a look at the code below it works and everything but it doesnt work if i try change it using a command like if id like to change "None" to "Something" and "Something" to "Nothing" /nothing /something etc
It works and everything since its being used in stats, as stats usually use numbers like Admin: 4
Im wondering how i can change it to letters such as Admin: Trial Admin or something
Take a look at the code below it works and everything but it doesnt work if i try change it using a command like if id like to change "None" to "Something" and "Something" to "Nothing" /nothing /something etc
Код:
new text1[20]; if(!strlen(PlayerData[playerid][Haircut])) return format(PlayerData[playerid][Haircut], 20, text1); else format(text1, 20, "None");