09.04.2012, 12:04
When adding a vehicle using:
Then when you enter vehicle how can I check if its TestCar i entered? Is there a way to do that?
BTW: test car is loaded from file, so there could be 10 vehicles added that are TestCar
pawn Код:
new TestCar;
TestCar = AddStaticVehicle();
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(//what here?)
{
SendClientMessage(playerid, COLOR_RED,"You are in test car"); }
return 1;
}