|
Senior Member
Join Date: Aug 2022
Location: Colombia
|
11-16-2022
, 21:36
Re: loop entitys
|
#17
|
Quote:
Originally Posted by Celena Luna
and with my code it shown like this
PHP Code:
public Test( Client ) { removeTransEnts( Client, {2,8,15,100} ); return 1; } removeTransEnts(Client, __int_Entitys[], max = sizeof __int_Entitys ) { for( new i = 0; i < max; i++) { client_print( Client, print_chat, "The Cell [%d] have a value of = %d", i, __int_Entitys[i] ); } client_print( Client, print_chat, "End of the Loop" ); }
and for removeTransEnts( Client, {100,8,15,0} );
|
because you modified it, I think you didn't understand how it works and you still touched it, try with the code that I sent you intact, the one I made works perfectly, as in the images I sent you, just change the values for you to try
Last edited by MrPickles; 11-16-2022 at 21:38.
|
|
|
|