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

public function mostly returns 0

$
0
0
Hello,
I have a problem in a public function:
PHP Code:

forward VIPAble(carid);
public 
VIPAble(carid)
{
    if(
GetVehicleModel(carid) == 411 || GetVehicleModel(carid) == 560 || GetVehicleModel(carid) == 541 || GetVehicleModel(carid) == 451)
    {
        return 
1;
    }
    return 
0;


when testing this, it works, but after a while of starting server ( 3hours or more ) it returns 0...

Viewing all articles
Browse latest Browse all 18226

Trending Articles



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