01.01.2014, 13:57
Assuming that getCheckpointType returns the checkpointid:
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
if (getCheckpointType(playerid) == CP_wangcars || getCheckpointType(playerid) == CP_GUN)
{
DestroyVehicle(vehicleid);
}
return 1;
}