14.10.2010, 12:32
lemme give you a command /oldcar
it's the most simplest way to find a vehicle id
but you need to have/create the function named LastVehicle
If you don't have it,lemme do it for you
under OnPlayerEnterVehicle
it's the most simplest way to find a vehicle id
Quote:
|
if(strcmp(cmd, "/oldcar", true) == 0) { if(IsPlayerConnected(playerid)) { new string[35]; format(string, sizeof(string), "Your old car was: %d",LastVehicle[playerid]); SendClientMessage(playerid, COLOR_ORANGE, string); } return 1; } |
If you don't have it,lemme do it for you
Quote:
|
new LastVehicle[MAX_PLAYERS]; |
Quote:
|
LastVehicle[playerid] = vehicleid; |

