AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Solved function problem (https://forums.alliedmods.net/showthread.php?t=325444)

ABCDEFGH23 06-22-2020 07:48

function problem
 
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!


All times are GMT -4. The time now is 23:25.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.