Code:
new string[100];
new name[get_user_name(playerid, sizeof(name), strlen(string)];
I am trying to get name of user,But few errors are happening.
Solve the below errors please.
ERRORS:
Error1:
Undefined symbol "name" on line 20 //Which name is it talking about,There are two names?
Error2:
Invalid expression, assumed zero on line 20 //What to do with this?
Error3:
Expected token: ";", but found "]" on line 20 //What is this?