Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

iterator

$
0
0
PHP Code:

Attempted to read/write array element at index 2000 in array of size 2000 

PHP Code:

foreach(new Personal_Car) {
    if(
CarInfo[i][Userid] == PlayerInfo[playerid][pSQLID] && CarInfo[i][Spawned] > 0) {
        
DestroyVehicle(CarInfo[i][Spawned]);
        
//reset_car_var(CarInfo[i][Spawned], 1);
        
Iter_SafeRemove(Personal_Carii);
    }    


how could I use the Iter_SafeRemove function in this case?

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>