Thread: [Solved] function problem
View Single Post
Author Message
ABCDEFGH23
Junior Member
Join Date: Jun 2020
Location: HEEELP!!!
Old 06-22-2020 , 07:48   function problem
Reply With Quote #1

Code:
void testfunc(int a){

a = 10;

}

int b;
testfunc(b);
PrintToChatAll("b: %d", b);
it always returns 0

[Solved]i got it!, thank you guys!

Last edited by ABCDEFGH23; 06-22-2020 at 08:00.
ABCDEFGH23 is offline