How do I check whether there's no entries inside a cellarray? I need to show the player an error log if the array is empty.
Is this correct?
PHP Code:
new iArraySize = ArraySize( g_aCustomSpawnPoints );
if( ! iArraySize )
{
log_amx( "[CSBR] No Custom Origins Found" );
return 0;
}
If we use ArrayPushArray, does ArraySize go from -1 to 0 or from 0 to 1?
__________________