17.07.2018, 03:20
Your code is no sense.
Firstly, PlayerPhoneExist return 1 no matter what happens in your function but the name let us understand that function need to be return 1 if the player's phone exist or 0 if not.
"iStr" doesn't exist in your function. In your example, you declare it as local variable and no, fortunately, as a global variable.
Firstly, PlayerPhoneExist return 1 no matter what happens in your function but the name let us understand that function need to be return 1 if the player's phone exist or 0 if not.
PHP код:
format(iStr,sizeof(iStr),"I/A");
print(iStr);