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

CMD /oldcar(your last car) and i want /lastdriver(player's last car)

$
0
0
PHP Code:

CMD:oldcar(playeridparams[])
{
    new 
string[128];
    if(!
gLastCar[playerid]) return SendClientMessageEx(playeridCOLOR_GREY"You have not driven a vehicle yet.");
    
format(stringsizeof(string), "Your last driven vehicle was a %s (Model: %d -- ID: %d)"GetVehicleName(gLastCar[playerid]), GetVehicleModel(gLastCar[playerid]), gLastCar[playerid]);
    
SendClientMessageEx(playeridCOLOR_GREYstring);
    return 
1;


This is the cmd /oldcar to check the last vehicle you used.

I want a cmd that can check the last driver that used the car /lastdriver.

Viewing all articles
Browse latest Browse all 18226

Trending Articles



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