Is the car running
#4

You're lucky I use this myself.

pawn Код:
enum vInfo
{
  IsStarted
}

new VehicleInfo[MAX_VEHICLES][vInfo];

// /start command:
VehicleInfo[vehicleid][IsStarted] = 1;

// /stop command
VehicleInfo[vehicleid][IsStarted] = 0;

// OnPlayerStateChange
if(VehicleInfo[vehicleid][IsStarted] == 1) SendClientMessage(playerid, COLOR, "the car is running");
else SendClientMessage(playerid, COLOR, "Type /start to start the vehicle");
Reply


Messages In This Thread
Is the car running - by FreeSoul - 24.06.2009, 07:42
Re: Is the car running - by WoodPecker - 24.06.2009, 07:58
Re: Is the car running - by happyface - 24.06.2009, 11:30
Re: Is the car running - by Vince - 24.06.2009, 11:45

Forum Jump:


Users browsing this thread: 1 Guest(s)