Function related issue.
#4

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.
PHP код:
        format(iStr,sizeof(iStr),"I/A");
        print(
iStr); 
"iStr" doesn't exist in your function. In your example, you declare it as local variable and no, fortunately, as a global variable.
Reply


Messages In This Thread
Function related issue. - by SlayerHodge - 16.07.2018, 21:24
Re: Function related issue. - by IdonTmiss - 16.07.2018, 21:26
Re: Function related issue. - by SlayerHodge - 17.07.2018, 00:00
Re: Function related issue. - by Dayrion - 17.07.2018, 03:20
Re: Function related issue. - by SlayerHodge - 17.07.2018, 03:30
Re: Function related issue. - by GangstaSunny. - 17.07.2018, 04:03
Re: Function related issue. - by GhostHacker9 - 17.07.2018, 04:09
Re: Function related issue. - by Hreesang - 17.07.2018, 06:17
Re: Function related issue. - by SlayerHodge - 17.07.2018, 17:23

Forum Jump:


Users browsing this thread: 2 Guest(s)